Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Class to provide type-driven access to elements of a HList
- class ContainsType a c where
Documentation
class ContainsType a c where Source #
for get/put of a value in a HList, with type-directed lookup.
setHListElem :: a -> HList c -> HList c Source #
getHListElem :: HList c -> a Source #
ContainsType a xs => ContainsType a ((:) Type x xs) Source # | |
ContainsType a ((:) * a xs) Source # | |