Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Transform input output = Transform (Fetch input -> IO (Fetch output))
- consume :: Consume input output -> Transform input output
- produce :: (input -> Produce output) -> Transform input output
- mapFetch :: (Fetch a -> Fetch b) -> Transform a b
- executeIO :: Transform (IO a) a
- take :: Int -> Transform input input