| ||||||||||||
| ||||||||||||
Description | ||||||||||||
Documentation | ||||||||||||
data Iterable a => Iterator a | ||||||||||||
class Iterable a | ||||||||||||
| ||||||||||||
type IteratorFilter itemT = itemT -> IO Bool | ||||||||||||
type IteratorFoldFunction itemT accumT = itemT -> accumT -> IO (Bool, accumT) | ||||||||||||
data IteratorResult | ||||||||||||
| ||||||||||||
iteratorNext :: Iterable a => Iterator a -> IO (IteratorResult, Maybe a) | ||||||||||||
iteratorResync :: Iterator a -> IO () | ||||||||||||
iteratorFilter :: Iterable a => Iterator a -> IteratorFilter a -> IO (Iterator a) | ||||||||||||
iteratorFold :: Iterable itemT => Iterator itemT -> accumT -> IteratorFoldFunction itemT accumT -> IO (IteratorResult, accumT) | ||||||||||||
iteratorForeach :: Iterable itemT => Iterator itemT -> (itemT -> IO ()) -> IO IteratorResult | ||||||||||||
iteratorFind :: Iterable itemT => Iterator itemT -> (itemT -> IO Bool) -> IO (IteratorResult, Maybe itemT) | ||||||||||||
Produced by Haddock version 2.4.2 |