singleraeh-0.4.0: raehik's singletons
Safe HaskellSafe-Inferred
LanguageGHC2021

Singleraeh.Bool

Synopsis

Documentation

data SBool b where Source #

Singleton Bool.

Constructors

STrue :: SBool True 
SFalse :: SBool False 

Instances

Instances details
Demotable SBool Source # 
Instance details

Defined in Singleraeh.Bool

Associated Types

type Demote SBool Source #

Methods

demote :: forall (k1 :: k). SBool k1 -> Demote SBool Source #

type Demote SBool Source # 
Instance details

Defined in Singleraeh.Bool

class SingBool (b :: Bool) where Source #

Methods

singBool :: SBool b Source #

Instances

Instances details
SingBool 'False Source # 
Instance details

Defined in Singleraeh.Bool

SingBool 'True Source # 
Instance details

Defined in Singleraeh.Bool