[Haskell-cafe] Typed Configuration Files

Ketil Malde ketil at malde.org
Thu Jan 14 09:51:34 EST 2010


Ketil Malde <ketil at malde.org> writes:

> - CmdArgs helpfully provides default --help, --version as well as
>   --quite and --verbose.  For the two former, there's also a nice
>   default implementation, but presumably the latter two are for use in
>   the program proper.  Unfortunately, I don't know how to get at their
>   values.

I couldn't find it in an example, but apparently it is done through
global functions 'isLoud', 'isNormal', and 'isQuiet'.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list