cpphs
Safe HaskellNone
LanguageHaskell98

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 a b -> Bool #

fromLeft :: Either a b -> a #

fromRight :: Either a b -> b #

data ConvertArgs #

Convert commandline options to remain compatible with cpp. Based on a shell script cpphs.compat

Constructors

ConvertArgs 

Fields

convertArgs :: [String] -> [String] #