Safe Haskell | None |
---|---|
Language | Haskell2010 |
Boolean functions, like in Data.Bool.
This module should be imported qualified to avoid clashes with standard Haskell definitions.
Documentation
Boolean deconstructor.
bool f _ False = f bool _ t True = t
bool : a -> a -> Bool -> a