Safe Haskell | None |
---|
Documentation
Applicative m => Fresh v (FreshT v m) | |
MonadTrans (FreshT v) | |
Monad m => Monad (FreshT v m) | |
Functor m => Functor (FreshT v m) | |
(Functor m, Monad m) => Applicative (FreshT v m) |
Creates a Cofree Identity v
, based on a seed, and a function to split it.
listStream :: [v] -> Cofree Identity vSource
Creates a Cofree Identity v
based on an infinite list.
This function will cause an error when the list turns out to be finite.