Module
Type.Data.Boolean
- Package
- typelevel-prelude
- Repository
- purescript/purescript-typelevel-prelude
#IsBoolean Source
class IsBoolean :: Boolean -> Constraint
class IsBoolean bool where
Class for reflecting a type level Boolean
at the value level
Members
reflectBoolean :: forall proxy. proxy bool -> Boolean
Instances
#reifyBoolean Source
reifyBoolean :: forall r. Boolean -> (forall proxy o. IsBoolean o => proxy o -> r) -> r
Use a value level Boolean
as a type-level Boolean