Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Type level combinators
A heterogenious list.
a :& b infixr 8 |
(HasGenFunc * a, HasGenFunc * b) => HasGenFunc * ((:&) a b) Source # | |
type GenFunc * ((:&) a b) Source # | |
Generating symbol values on type lists
class GetLits a t where Source #
getSymbols :: Proxy a -> t Source #
KnownNat a => GetLits Nat a Integer Source # | |
KnownSymbol a => GetLits Symbol a String Source # | |
GetLits [k] ([] k) [t] Source # | |
(GetLits a a1 t, GetLits [a] as [t]) => GetLits [a] ((:) a a1 as) [t] Source # | |
GetLits k1 name String => GetLits * (Uniform k k1 name val) String Source # | |
(GetLits k2 name String, GetLits k1 loc Integer) => GetLits * (Attribute k1 k k2 name val loc) (String, Integer) Source # | |
Generating function class
class HasGenFunc a where Source #
genFunction :: Proxy a -> GenFunc a Source #
HasGenFunc [k] ([] k) Source # | |
(HasGenFunc * a, HasGenFunc * b) => HasGenFunc * ((:&) a b) Source # | |
(HasGenFunc a a1, HasGenFunc [a] as) => HasGenFunc [a] ((:) a a1 as) Source # | |