lazy-io-0.1.0: Lazy IO
Control.Monad.LazyIO
Description
The module is intended to be imported qualified:
>>> import qualified Control.Monad.LazyIO as LazyIO
>>>
import qualified Control.Monad.LazyIO as LazyIO
Synopsis
sequence :: [IO a] -> IO [a]Source
Lazily evaluate each action in the sequence from left to right, and collect the results.
mapM :: (a -> IO b) -> [a] -> IO [b]Source
mapM f is equivalent to sequence . map f.
mapM
sequence
map
forM :: [a] -> (a -> IO b) -> IO [b]Source
forM is mapM with its arguments flipped.
forM