This module defines a class for dealing with configurations and settings. It also exports a Template Haskell function to easily create datatypes to deal with the configuration of your program.
For an example using this module, see the file "Examples/Options.hs" in the package tarball.
Documentation
class Configuration c whereSource
An instance c
of Configuration
has as values complete configurations,
as the program peruses.
is the associated type of a single
setting, or option assignments, as given by the user in a configuration
file or command line options.
Setting
s
apply :: forall c. Configuration c => [Setting c] -> c -> cSource