cpphs

Safe HaskellNone

Main

Synopsis

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

traditional :: Bool
 
strip :: Bool
 
infile :: String
 
outfile :: String
 

convertArgs :: [String] -> [String]