tfp-0.2: Type-level programming library using type familiesSource codeContentsIndex
Types.Data.Bool
Portabilitynon-portable (type families, requires ghc >= 6.9)
Stabilityexperimental
Maintainerpgavin@gmail.com
Description
Type-level numerical operations using type families.
Documentation
data True Source
show/hide Instances
trueT :: TrueSource
data False Source
show/hide Instances
falseT :: FalseSource
type family Not x Source
notT :: x -> Not xSource
type family x :&&: y Source
andT :: x -> y -> x :&&: xSource
type family x :||: y Source
orT :: x -> y -> x :||: xSource
class IfT x y z whereSource
Associated Types
type If x y z Source
Methods
ifT :: x -> y -> z -> If x y zSource
show/hide Instances
IfT False y z
IfT True y z
Produced by Haddock version 2.6.0