The fez-conf package

[ Tags: bsd3, library, parsing ] [ Propose Tags ]

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>
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 1132 total (123 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

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for fez-conf-1.0.1

[back to package description]
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>