Extra-1.46.3: A grab bag of modules.

Safe HaskellSafe-Inferred
LanguageHaskell98

Extra.Exit

Synopsis

Documentation

exitWithHelp Source

Arguments

:: (String -> Doc)

generate help text, the argument is the result of getProgName

-> IO a

no value is returned, this function always calls exitFailure

exitFailure with nicely formatted help text on stderr