PR Stanley <[EMAIL PROTECTED]> writes:

> Hi
> Can you think of a fourth way of redefining disjunct using pattern matching?
> vee :: Bool -> Bool -> Bool
> vee _ True = True
> vee True _ = True
> vee _ _ = False

In the same spirit:

f False False = False
f _ _ = True
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to