Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Everything in this module is slightly morally dubious in that it works by
considering *all* modules to be exposed-modules
in the preprocessor phase.
This works in practice, but the Cabal API provides no guarantees this will continue to be the case in the future.
Synopsis
- defaultMainC2Hs :: IO ()
- c2hsUserHooks :: UserHooks
- c2hsBuildHooks :: PackageDescription -> LocalBuildInfo -> UserHooks -> BuildFlags -> IO ()
- c2hsHaddockHooks :: PackageDescription -> LocalBuildInfo -> UserHooks -> HaddockFlags -> IO ()
- c2hsReplHooks :: PackageDescription -> LocalBuildInfo -> UserHooks -> ReplFlags -> [String] -> IO ()
Documentation
defaultMainC2Hs :: IO () Source #
User hooks
c2hsUserHooks :: UserHooks Source #
Since: 0.1.1.0
Specialized hooks
c2hsBuildHooks :: PackageDescription -> LocalBuildInfo -> UserHooks -> BuildFlags -> IO () Source #
Custom build hooks to be used with .chs
files which {#import#}
one
another.
c2hsHaddockHooks :: PackageDescription -> LocalBuildInfo -> UserHooks -> HaddockFlags -> IO () Source #
c2hsReplHooks :: PackageDescription -> LocalBuildInfo -> UserHooks -> ReplFlags -> [String] -> IO () Source #