Safe Haskell | None |
---|---|
Language | Haskell2010 |
The HList library
(C) 2004, Oleg Kiselyov, Ralf Laemmel, Keean Schupke
Yet another model of labels.
Labels are promoted Strings or Integers GHC.TypeLits inside the
Label
. Needs ghc7.6 or higher.
See CommonMain#label6demo for an example.
Orphan instances
KnownNat x => ShowLabel Nat x Source # | |
KnownSymbol x => ShowLabel Symbol x Source # | |
HExtend (Label Nat y) (Proxy [Nat] ((:) Nat x xs)) Source # | |
HExtend (Label Symbol y) (Proxy [Symbol] ((:) Symbol x xs)) Source # |
|