List-0.6.2: List monad transformer and class

Safe Haskell | Safe-Inferred
Language | Haskell98

Control.Monad.ListT.Funcs

Description

`List` functions with type limited to use `ListT`. This might come useful for type interference.

Functions where the `List` is an input type and not only the result type do not need special limited versions.

# Documentation

iterateM :: Monad m => (a -> m a) -> m a -> ListT m a Source #

repeatM :: Monad m => m a -> ListT m a Source #

repeat :: forall (m :: Type -> Type) a. Monad m => a -> ListT m a Source #

fromList :: forall (m :: Type -> Type) a. Monad m => [a] -> ListT m a Source #