[Haskell-cafe] Best way to return Bool based on a successful pattern match?
nikita at karetnikov.org
Mon Jul 13 12:02:07 UTC 2015
Looking at the instances defined for Bool and Either, I don't think
there's a higher level way of doing it. But even if there's one, it'll
probably be more obscure than isLeft, which is in base since 126.96.36.199.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 818 bytes
Desc: not available
More information about the Haskell-Cafe