fez-conf: Simple functions for loading config files

[ bsd3, library, parsing ] [ Propose Tags ]

Simple functions for loading config files

[Skip to Readme]
Versions 1.0.0, 1.0.1, 1.0.2, 1.0.3
Dependencies base (>=3 && <5), containers, regex-compat [details]
License BSD-3-Clause
Copyright 2009 Dino Morelli
Author Dino Morelli
Maintainer Dino Morelli <dino@ui3.info>
Category Parsing
Home page http://ui3.info/d/proj/fez-conf.html
Uploaded by DinoMorelli at Mon Jun 8 03:46:11 UTC 2009
Distributions NixOS:1.0.3
Downloads 1539 total (15 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for fez-conf-1.0.1

[back to package description]

author: Dino Morelli <dino@ui3.info>


Simple functions for loading config files.

Included are functions to load config data (key=value pairs in a text 
file) into a (Map String String) or into a [String] in the form 
["--key1=value1","--key2=value2"]. For more info and examples see 
the generated haddock API documentation.

This module was motived by the desire to factor this repetitive              configuration file parsing code out of several of my projects.

These functions offer very simple behavior which may be fine for             many tasks. For those needing something that does more, including            building and saving config data and .ini-style [section]s, may I             suggest Data.ConfigFile                                                      <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ConfigFile>.

This library is known to work with GHC 6.10.1 (and probably still 6.8.x and possibly 6.6.x. But I haven't tested these).


Build and install in the typical way for Cabalized software:

   $ runhaskell Setup.hs configure
   $ runhaskell Setup.hs build
   $ runhaskell Setup.hs test
   $ runhaskell Setup.hs haddock
   $ runhaskell Setup.hs install

(Note: this project *does* have unit tests. I encourage you to run them!)

* getting it *

You should be able to get fez-conf from Hackage or its own homepage: