[Haskell-beginners] question about pattern guards

Daniel Trstenjak daniel.trstenjak at gmail.com
Fri Sep 20 19:55:42 CEST 2013


> Why is it not possible to combine them with a logical OR, instead of the
> comma that stands for a logical AND?

The '|' already acts as the "OR", why should you need another one?

Greetings,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130920/bb45a7bc/attachment.htm>


More information about the Beginners mailing list