mirror of
https://github.com/sdiehl/wiwinwlh.git
synced 2024-09-11 12:05:25 +03:00
Update conduit.hs
This commit is contained in:
parent
3472aacdf7
commit
053aa25099
@ -24,4 +24,4 @@ sink :: Sink String IO ()
|
||||
sink = CL.mapM_ putStrLn
|
||||
|
||||
main :: IO ()
|
||||
main = source $$ conduit =$ sink
|
||||
main = runConduit $ source .| conduit .| sink
|
||||
|
Loading…
Reference in New Issue
Block a user