abt-0.1.0.0: Abstract binding trees for Haskell

Safe HaskellSafe-Inferred
LanguageHaskell2010

Abt.Types.HList

Documentation

data HList :: (κ -> *) -> [κ] -> * where Source

Constructors

Nil :: HList el [] 
(:*) :: el x -> HList el xs -> HList el (x : xs) infixr 8 

Instances

HEq1 k el => HEq1 [k] (HList k el) 

hmap :: (forall x. f x -> g x) -> HList f xs -> HList g xs Source

htraverse :: Applicative h => (forall x. f x -> h (g x)) -> HList f xs -> h (HList g xs) Source

homogenizeA :: Applicative h => (forall x. el x -> h α) -> HList el xs -> h [α] Source