[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Typed Configuration Files

Subject: Re: [Haskell-cafe] Typed Configuration Files
From: Ketil Malde
Date: Thu, 14 Jan 2010 15:51:34 +0100
Ketil Malde <[email protected]> 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
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>