Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Haskell.TH.TypeGraph.Vertex
Documentation
class TypeGraphVertex v where Source
Methods
typeNames :: v -> Set Name Source
Return the set of Name
of a type's synonyms, plus the name (if
any) used in its data declaration. Note that this might return the
empty set.
Instances
For simple type graphs always set _field and _synonyms to Nothing.
Constructors
TGV | |
For simple type graphs always set _field and _synonyms to Nothing.
Constructors
TGVSimple | |
simpleVertex :: TGV -> TGVSimple Source