The fez-conf package

[Tags:bsd3, library]

Simple functions for loading config files


[Skip to Readme]

Properties

Versions 1.0.0, 1.0.1, 1.0.2, 1.0.3
Dependencies base (>=3 && <5), containers, regex-compat [details]
License BSD3
Copyright 2009 Dino Morelli
Author Dino Morelli
Maintainer Dino Morelli <dino@ui3.info>
Stability experimental
Category Parsing
Home page http://ui3.info/d/proj/fez-conf.html
Uploaded Mon Jun 8 03:46:11 UTC 2009 by DinoMorelli
Distributions NixOS:1.0.3
Downloads 822 total (15 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for fez-conf

Readme for fez-conf-1.0.1

fez-conf
----------

author: Dino Morelli <dino@ui3.info>


*about*

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).


*install*

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:
<http://ui3.info/d/proj/fez-conf.html>