[Haskell-beginners] question about pattern guards

TP paratribulations at free.fr
Fri Sep 20 00:20:45 CEST 2013


Hi,

I have a question related to pattern guards in the syntax of Haskell 2010. 
Why is it not possible to combine them with a logical OR, instead of the 
comma that stands for a logical AND?

http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#pattern-guards

Thanks,

TP




More information about the Beginners mailing list