Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Topological sort for .chs
files according to {#import#}
s.
Synopsis
- reorderC2Hs :: Verbosity -> [CabalDir] -> [ModuleName] -> IO [ModuleName]
Documentation
:: Verbosity | |
-> [CabalDir] | Source directories |
-> [ModuleName] | Module names |
-> IO [ModuleName] | Sorted modules |
Given a list of ModuleName
s, sort it according to c2hs
{#import#}
declarations.