Safe Haskell | None |
---|---|
Language | Haskell2010 |
These are some tools for working with HLists; this is relevant when you are using path extractors.
Documentation
type family HListElim ts a :: * Source
this type family represents functions that can take all of the elements of an HList.
empty HList (useful for keeping other modules from needing to add several language extensions).
hListUncurry :: HListElim ts a -> HList ts -> a Source
uncurrys a function by applying it to the elements of the HList.
hListMapTo1 :: HListElim ts a -> HList ts -> HList1 a Source
uncurrys the function by applying it to the HList, then returns the result of that uncurrying as a single-element HList. useful for transforming PathExtractors.