singleton-bool-0.1.0.0: Type level booleans

Safe HaskellSafe
LanguageHaskell2010

Data.Singletons.Bool

Contents

Synopsis

Documentation

data SBool b where Source #

Constructors

STrue :: SBool True 
SFalse :: SBool False 

class SBoolI b where Source #

Minimal complete definition

sbool

Methods

sbool :: SBool b Source #

Data.Type.Bool

These are only defined with base >= 4.7

sboolAnd :: SBool a -> SBool b -> SBool (a && b) Source #

sboolOr :: SBool a -> SBool b -> SBool (a || b) Source #