[Haskell-beginners] short-circuit like Maybe monad with a difference

Dennis Raddle dennis.raddle at gmail.com
Fri Sep 30 22:07:30 UTC 2016


It is necessary to know if all the rules are evaluated but that can be done
by checking the length of the output. Also I could do something like zip
the rule list with the [Double] output to tuple the rules together with
their scores.

D


On Fri, Sep 30, 2016 at 2:12 PM, Imants Cekusins <imantc at gmail.com> wrote:

> it is better alright.
>
> is it necessary to know if all rules were evaluated?
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20160930/bec67c8e/attachment.html>


More information about the Beginners mailing list