Text.XML.HaXml.TypeMapping
Contents
A class to get an explicit type representation for any value
HTypeable
promises that we can create an explicit representation of
of the type of any value.
Explicit representation of Haskell datatype information
A concrete representation of any Haskell type.
A concrete representation of any user-defined Haskell constructor. The constructor has a name, and a sequence of component types. The first sequence of types represents the minimum set of free type variables occurring in the (second) list of real component types. If there are fieldnames, they are contained in the final list, and correspond one-to-one with the component types.
Helper functions to extract type info as strings
showConstr :: Int -> HType -> StringSource
Project the n'th constructor from an HType and convert it to a string suitable for an XML tagname.