List-0.5.1: List monad transformer and class

Safe HaskellSafe-Inferred



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.


iterateM :: Monad m => (a -> m a) -> m a -> ListT m aSource

repeatM :: Monad m => m a -> ListT m aSource

repeat :: Monad m => a -> ListT m aSource

fromList :: Monad m => [a] -> ListT m aSource