chs-cabal-0.1.1.3: Cabal with c2hs dependencies
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.C2Hs.TopSort

Description

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

Synopsis

Documentation

reorderC2Hs Source #

Arguments

:: Verbosity 
-> [CabalDir]

Source directories

-> [ModuleName]

Module names

-> IO [ModuleName]

Sorted modules

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