[Haskell-beginners] basic Functor, Applicative and Monad instances

Imants Cekusins imantc at gmail.com
Thu Jul 16 20:45:53 UTC 2015


Cheers, Rein. This is new for me. I tried to make it work.

BTW the monad instance is not used. Commenting it out has no effect on
running main.

How can I apply Val (not IO) Monad instance in this example? Could you
suggest a simple change?


More information about the Beginners mailing list