ghc-mod-5.8.0.0: Happy Haskell Hacking

Safe HaskellNone
LanguageHaskell2010

GhcMod.HomeModuleGraph

Synopsis

Documentation

data GmModuleGraph #

Instances

Eq GmModuleGraph # 
Ord GmModuleGraph # 
Read GmModuleGraph # 
Show GmModuleGraph # 
Generic GmModuleGraph # 

Associated Types

type Rep GmModuleGraph :: * -> * #

Monoid GmModuleGraph # 
Binary GmModuleGraph # 
type Rep GmModuleGraph # 
type Rep GmModuleGraph = D1 (MetaData "GmModuleGraph" "GhcMod.Types" "ghc-mod-5.8.0.0-FpWLlHEdQ7758c1KhFkC3l" False) (C1 (MetaCons "GmModuleGraph" PrefixI True) (S1 (MetaSel (Just Symbol "gmgGraph") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Map ModulePath (Set ModulePath)))))

data ModulePath #

Constructors

ModulePath 

updateHomeModuleGraph #

Arguments

:: (IOish m, Gm m) 
=> HscEnv 
-> GmModuleGraph 
-> Set ModulePath

Initial set of modules

-> Set ModulePath

Updated set of modules

-> m GmModuleGraph 

moduleGraphToDot :: GmModuleGraph -> String #

Turn module graph into a graphviz dot file

dot -Tpng -o modules.png modules.dot