| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Fcf.Data.Bool
Description
Booleans.
Note that the operations from this module conflict with Data.Type.Bool.
Documentation
data UnBool (b :: Exp a) (c :: Exp a) (d :: Bool) (e :: 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
data ((a :: Bool) || (b :: Bool)) (c :: Bool) infixr 2 Source #
Instances
| type Eval ('False || b :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
| type Eval ('True || b :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
| type Eval (a || 'False :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
| type Eval (a || 'True :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
data ((a :: Bool) && (b :: Bool)) (c :: Bool) infixr 3 Source #
Instances
| type Eval ('False && b :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
| type Eval ('True && b :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
| type Eval (a && 'False :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |
| type Eval (a && 'True :: Bool -> Type) Source # | |
Defined in Fcf.Data.Bool | |