isLeft/isRight (Was: leftToMaybe/rightToMaybe)

Henning Thielemann lemming at henning-thielemann.de
Wed Aug 7 17:40:49 CEST 2013


On Wed, 7 Aug 2013, amindfv at gmail.com wrote:

> Another use, where I've defined isLeft in the past, is checking that a 
> set of computations was successful, e.g. "if all isRight foo"

And you are not interested in the results itself? I would certainly prefer 
'sequence foo'. Then you can also access the results of the computations.




More information about the Libraries mailing list