[Haskell-cafe] "Wrong kind" when attempting to build a monad for a circular list of functions

Felipe Lessa felipe.lessa at gmail.com
Thu Feb 28 06:15:37 EST 2008

On Thu, Feb 28, 2008 at 7:44 AM, Felipe Lessa <felipe.lessa at gmail.com> wrote:
>  Bas van Dijk's 'always' (also called 'forever'[1])

Sorry, of course

always' :: Monad m => (a -> m a) -> (a -> m ())
forever :: Monad m => (m a) -> (m ())

are of different types and so are different functions.


More information about the Haskell-Cafe mailing list