Safe Haskell | None |
---|---|
Language | Haskell98 |
Lists suitable for parallel execution (taken from Hackage's monad-par package). (For converting to regular lists, there is the toList function in Data.Foldable.)
Documentation
filterAList :: (b -> Bool) -> AList b -> AList b Source
Filters the AList using a predicate.
assocFold :: (c -> c -> c) -> AList c -> c Source
Folds the AList with a function, that must be associative. This allows parallelism to be introduced.
findAList :: Eq a => (a -> Bool) -> AList a -> Maybe a Source
Find the first element satisfying a predicate.
concatAList :: Monad m => m (m b) -> m b Source
Concatenate an AList of ALists.