th-typegraph-0.14: Graph of the subtype relation

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.TH.TypeGraph.Hints

Synopsis

Documentation

data VertexHint Source

When a VertexHint value is associated with a Type it describes alterations in the type graph from the usual default.

Constructors

Normal

normal case

Hidden

don't create this vertex, no in or out edges

Sink

out degree zero - don't create any out edges

Divert Type

replace all out edges with an edge to an alternate type

Extra Type

add an extra out edge to the given type