tfp-1.0: Type-level integers, booleans, lists using type families
Type.Data.Bool
data True Source
Instances
true :: Proxy True Source
data False Source
false :: Proxy False Source
type family Not x Source
not :: Proxy x -> Proxy (Not x) Source
type family x :&&: y Source
and :: Proxy x -> Proxy y -> Proxy (x :&&: y) Source
type family x :||: y Source
or :: Proxy x -> Proxy y -> Proxy (x :||: y) Source
type family If x y z Source
if_ :: Proxy x -> Proxy y -> Proxy z -> Proxy (If x y z) Source