[Haskell-beginners] short-circuit like Maybe monad with a difference
Imants Cekusins
imantc at gmail.com
Fri Sep 30 20:32:53 UTC 2016
> short-circuits the computation if it hits Nothing. However, unlike the
way the Maybe monad works, I want to know the partial results.
could store partial results in a State monad.. Maybe would short circuit
but the values would stay in the State.
would this work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160930/d23634f8/attachment.html>
More information about the Beginners
mailing list