| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.HList.HList
Description
A GADT HList implementation
There exist other implementations of HList on hackage, but none seem to be reliably maintained.
Documentation
data HList :: [Type] -> Type where Source #
Instances
| (Eq x, Eq (HList xs)) => Eq (HList (x ': xs)) Source # | |
| Eq (HList ([] :: [Type])) Source # | |
| (Show a, Show (HList b)) => Show (HList (a ': b)) Source # | |
| Show (HList ([] :: [Type])) Source # | |
| (Semigroup x, Semigroup (HList xs)) => Semigroup (HList (x ': xs)) Source # | |
| Semigroup (HList ([] :: [Type])) Source # | |
| (Semigroup x, Monoid x, Semigroup (HList xs), Monoid (HList xs)) => Monoid (HList (x ': xs)) Source # | |
| Monoid (HList ([] :: [Type])) Source # | |