Safe Haskell | None |
---|---|
Language | Haskell98 |
The module provides counterparts of ..By
functions in Data.List
for monadic observations.
Documentation
deleteFirstByM :: Monad m => (a -> a -> m Bool) -> a -> [a] -> m [a] Source
intersectByM :: Monad m => (a -> a -> m Bool) -> [a] -> [a] -> m [a] Source
maximumByM :: Monad m => (a -> a -> m Ordering) -> [a] -> m a Source
minimumByM :: Monad m => (a -> a -> m Ordering) -> [a] -> m a Source