th-typegraph-0.23: Graph of the subtype relation

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.TH.TypeGraph.Prelude

Synopsis

Documentation

pprint' :: Ppr a => a -> [Char] Source

Pretty print a Ppr value on a single line with each block of white space (newlines, tabs, etc.) converted to a single space.

unlifted :: (IsUnlifted t, Quasi m) => t -> m Bool Source

class HasSet a m where Source

Methods

getSet :: m (Set a) Source

modifySet :: (Set a -> Set a) -> m () Source

unReify :: Data a => a -> a Source

adjacent' :: forall node key. (Graph, Vertex -> (node, key, [key]), key -> Maybe Vertex) -> key -> [key] Source

Return a key's list of adjacent keys

reachable' :: forall node key. (Graph, Vertex -> (node, key, [key]), key -> Maybe Vertex) -> key -> [key] Source

Return a key's list of reachable keys

newtype L a Source

Constructors

L a 

Instances

Ppr a => Ppr (L [a]) Source