Safe Haskell | None |
---|---|
Language | Haskell2010 |
- produceAndConsume :: Produce input -> Consume input output -> IO output
- produceAndTransformAndConsume :: Produce input -> Transform input anotherInput -> Consume anotherInput output -> IO output
- produce :: Produce input -> forall x. IO x -> (input -> IO x) -> IO x
- consume :: IO (Maybe input) -> Consume input output -> IO output
- fetchAndHandleAll :: Fetch element -> IO () -> (element -> IO ()) -> IO ()
- fetchAndHandle :: Fetch element -> IO a -> (element -> IO a) -> IO a
- transformList :: Transform a b -> [a] -> IO [b]
Documentation
produceAndTransformAndConsume :: Produce input -> Transform input anotherInput -> Consume anotherInput output -> IO output Source #
fetchAndHandleAll :: Fetch element -> IO () -> (element -> IO ()) -> IO () Source #
Fetch all the elements running the provided handler on them
fetchAndHandle :: Fetch element -> IO a -> (element -> IO a) -> IO a Source #
Fetch and handle just one element
transformList :: Transform a b -> [a] -> IO [b] Source #