Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- constructDepGraph :: [UClass] -> [TopLevel] -> ([String], [(Int, [Int])])
- findDepCycles :: ([String], [(Int, [Int])]) -> DepCycles
- getCyclicDepSubmodules :: String -> DepCycles -> ([String], [String])
- locateInDepCycles :: (String, String) -> DepCycles -> Maybe (Int, Int)
- gatherHsBootSubmodules :: DepCycles -> [String]
Documentation
:: [UClass] | list of all classes, either template class or ordinary class. |
-> [TopLevel] | list of all top-level functions. |
-> ([String], [(Int, [Int])]) | (all submodules, [(submodule, submodule dependencies)]) |
construct dependency graph
locateInDepCycles :: (String, String) -> DepCycles -> Maybe (Int, Int) Source #
locate importing module and imported module in dependency cycles
gatherHsBootSubmodules :: DepCycles -> [String] Source #