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 :: (forall x. x -> (input -> x) -> IO x) -> Consume input output -> IO output
- fetchAndHandleAll :: Fetch element -> IO () -> (element -> IO ()) -> IO ()
- fetch :: Fetch element -> IO (Maybe element)