[Haskell-beginners] Maybe monad and computations

Daniel Trstenjak daniel.trstenjak at gmail.com
Sat Sep 7 09:38:09 CEST 2013


> I can't see how even your GHC version of 'operation' should work ...

Ok, the GHC version puts the IO action into the Maybe and returns it then
from 'process'. There's really no need for this extra wrapping of the string
into the IO monad.

I know nothing about Fay, so I don't know why this extra wrapping shouldn't
work for Fay. Fay has an instance for Monad, right?


Greetings,
Daniel




More information about the Beginners mailing list