[Haskell-cafe] Can we come out of a monad?

C K Kashyap ckkashyap at gmail.com
Fri Jul 30 02:23:56 EDT 2010


Hi,
In the code here -
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=28393#a28393
If I look at the type of modifiedImage, its simply ByteString - but isn't it
actually getting into and back out of the state monad? I am of the
understanding that once you into a monad, you cant get out of it? Is this
breaking the "monad" scheme?
-- 
Regards,
Kashyap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100730/2b0bd003/attachment.html


More information about the Haskell-Cafe mailing list