Module

Type.Data.Boolean

#BProxy

data BProxy bool

Constructors

#IsBoolean

class IsBoolean bool  where

Members

Instances

#reifyBoolean

reifyBoolean :: forall r. Boolean -> (forall proxy o. IsBoolean o => proxy o -> r) -> r

Use a value level Boolean as a type-level Boolean

#And

class And lhs rhs out | lhs rhs -> out

Instances

#and

and :: forall proxy l r o. And l r o => proxy l -> proxy r -> Proxy o

#Or

class Or lhs rhs output | lhs rhs -> output

Instances

#or

or :: forall proxy l r o. Or l r o => proxy l -> proxy r -> Proxy o

#Not

class Not bool output | bool -> output

Instances

#not

not :: forall proxy i o. Not i o => proxy i -> Proxy o

#If

class If bool onTrue onFalse output | bool onTrue onFalse -> output

Instances

#if_

if_ :: forall proxy b t e o. If b t e o => proxy b -> Proxy t -> Proxy e -> Proxy o

Re-exports from Prim.Boolean

#True

data True :: Boolean

The 'True' boolean type.

#False

data False :: Boolean

The 'False' boolean type.

Modules