Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Booleans.
Note that the operations from this module conflict with Data.Type.Bool.
Documentation
data UnBool :: Exp a -> Exp a -> Bool -> Exp a Source #
N.B.: The order of the two branches is the opposite of "if":
UnBool ifFalse ifTrue bool
.
This mirrors the default order of constructors:
data Bool = False | True ----------- False < True