ghc-mod-5.6.0.0: Happy Haskell Programming

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.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" "Language.Haskell.GhcMod.Types" "ghc-mod-5.6.0.0-4OKS43QJmb3B2V51vNKa6f" 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