[Haskell-beginners] stream of monadic calculations

Christopher Howard christopher.howard at frigidcode.com
Tue Oct 2 20:12:44 CEST 2012


Say I've got a stream of monadic calculations, like so:

code:
--------
do a' <- f a
   a'' <- g a'
   a''' <- h a''
   return a'''
--------

There is a cleaner way to do that, yes? (Without using all the tick marks?)

-- 
frigidcode.com
indicium.us

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/beginners/attachments/20121002/c1d42237/attachment.pgp>


More information about the Beginners mailing list