[Haskell-cafe] Combining computations
michael rice
nowgate at yahoo.com
Sat May 2 23:26:22 EDT 2009
I posted something similar about an hour ago but it seems to have gotten lost. Very strange.
I've read that Monads can combine computations. Can a Maybe monad be combined with a List monad such that
Nothing `mplus` [] ==> []
Just 1 `mplus` [] ==> [1]
If not, can someone supply a simple example of combining computations?
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090502/f0e9d420/attachment.htm
More information about the Haskell-Cafe
mailing list