chs-cabal-0.1.1.2: Cabal with c2hs dependencies
Safe HaskellNone
LanguageHaskell2010

Distribution.C2Hs.TopSort

Description

Topological sort for .chs files according to {#import#}s.

Synopsis

Documentation

reorderC2Hs Source #

Arguments

:: Verbosity 
-> [FilePath]

Source directories

-> [ModuleName]

Module names

-> IO [ModuleName]

Sorted modules

Given a list of ModuleNames, sort it according to c2hs {#import#} declarations.