streamly/test/2-gather.hs
2017-07-01 02:02:39 +05:30

9 lines
149 B
Haskell

import Asyncly
import Control.Monad.IO.Class (liftIO)
main = do
xs <- wait $ do
liftIO $ putStrLn "hello"
return 5
print xs