| |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| Documentation | |||||||||||||||||||||||||||
| preprocessSources | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| knownSuffixHandlers :: [PPSuffixHandler] | |||||||||||||||||||||||||||
| ppSuffixes :: [PPSuffixHandler] -> [String] | |||||||||||||||||||||||||||
| Convenience function; get the suffixes of these preprocessors. | |||||||||||||||||||||||||||
| type PPSuffixHandler = (String, PackageDescription -> BuildInfo -> LocalBuildInfo -> PreProcessor) | |||||||||||||||||||||||||||
| A preprocessor for turning non-Haskell files with the given extension into plain Haskell source files. | |||||||||||||||||||||||||||
| type PreProcessor = FilePath -> FilePath -> Int -> IO ExitCode | |||||||||||||||||||||||||||
| A preprocessor must fulfill this basic interface. It can be an external program, or just a function. | |||||||||||||||||||||||||||
| removePreprocessed | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| removePreprocessedPackage | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
| ppCpp :: PackageDescription -> BuildInfo -> LocalBuildInfo -> PreProcessor | |||||||||||||||||||||||||||
| ppGreenCard :: PreProcessor | |||||||||||||||||||||||||||
| ppC2hs :: PreProcessor | |||||||||||||||||||||||||||
| ppHsc2hs :: PackageDescription -> BuildInfo -> LocalBuildInfo -> PreProcessor | |||||||||||||||||||||||||||
| ppHappy :: PackageDescription -> BuildInfo -> LocalBuildInfo -> PreProcessor | |||||||||||||||||||||||||||
| ppAlex :: PackageDescription -> BuildInfo -> LocalBuildInfo -> PreProcessor | |||||||||||||||||||||||||||
| ppUnlit :: PreProcessor | |||||||||||||||||||||||||||
| Produced by Haddock version 0.6 | |||||||||||||||||||||||||||