some comments

This commit is contained in:
nek0 2023-12-10 12:57:36 +01:00
parent 4d0a6cbb00
commit 71451df387

View file

@ -17,11 +17,13 @@ main = do
(Options socketLocation) <- execParser opts (Options socketLocation) <- execParser opts
putStrLn $ "connecting to Socket " <> socketLocation putStrLn $ "connecting to Socket " <> socketLocation
handle <- connectSocket socketLocation handle <- connectSocket socketLocation
-- mock communication code
hPutStrLn handle "meow!" hPutStrLn handle "meow!"
hFlush handle hFlush handle
threadDelay $ 5 * 10 ^ 6 threadDelay $ 5 * 10 ^ 6
hPutStrLn handle "Goodbye!" hPutStrLn handle "Goodbye!"
hFlush handle hFlush handle
-- end mock
where where
opts = info (options <**> helper) opts = info (options <**> helper)
( fullDesc ( fullDesc