Safe Haskell | Safe-Inferred |
---|---|

Language | Haskell2010 |

- groupingOn :: Monad m => (a -> a -> Bool) -> ProcessT m a b -> ProcessT m a b
- taggedBy :: Monad m => (a -> a -> Bool) -> ProcessT m a (Either () a)
- partitioning :: Monad m => ProcessT m a b -> ProcessT m (Either () a) b
- starve :: Monad m => ProcessT m a b -> MachineT m k b -> MachineT m k b
- awaitUntil :: Monad m => (a -> Bool) -> (a -> ProcessT m a b) -> ProcessT m a b

# Documentation

groupingOn :: Monad m => (a -> a -> Bool) -> ProcessT m a b -> ProcessT m a b Source

Using a function to signal group changes, apply a machine independently over each group.

partitioning :: Monad m => ProcessT m a b -> ProcessT m (Either () a) b Source

Run a machine multiple times over partitions of the input stream specified by Left () values.