Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | libraries@haskell.org |
Monadic grouping (used for monad comprehensions)
- class Monad m => MonadGroup m t where
- mgroupWith :: (a -> t) -> m a -> m (m a)
Documentation
class Monad m => MonadGroup m t whereSource
MonadGroup
type class without restrictions on the type t
mgroupWith :: (a -> t) -> m a -> m (m a)Source
Ord t => MonadGroup [] t | Grouping instance for lists using the |