Safe Haskell | None |
---|
Main
- version :: String
- main :: IO ()
- execute :: CpphsOptions -> Maybe FilePath -> Maybe FilePath -> IO ()
- isLeft :: Either t t1 -> Bool
- fromLeft :: Either t t1 -> t
- fromRight :: Either t t1 -> t1
- data ConvertArgs = ConvertArgs {
- traditional :: Bool
- strip :: Bool
- infile :: String
- outfile :: String
- convertArgs :: [String] -> [String]
Documentation
version :: String
main :: IO ()
execute :: CpphsOptions -> Maybe FilePath -> Maybe FilePath -> IO ()
Execute the preprocessor. If the filepath is Nothing then default to stdout/stdin as appropriate.
isLeft :: Either t t1 -> Bool
fromLeft :: Either t t1 -> t
fromRight :: Either t t1 -> t1
data ConvertArgs
Convert commandline options to remain compatible with cpp. Based on a shell script cpphs.compat
Constructors
ConvertArgs | |
Fields
|
convertArgs :: [String] -> [String]