cookbook-3.0.1.1: Tiered general-purpose libraries with domain-specific applications.

Copyright(c) 2014 by Nate Pisarski
LicenseBSD3
Maintainernathanpisarski@gmail.com
StabilityStable
PortabilityPortable (Cookbook)
Safe HaskellSafe
LanguageHaskell98

Cookbook.Project.Configuration.Configuration

Description

Configuration is a library for simple configuration files. It's pretty fragile, but it's been used for some pretty majorly used scripts, namely espion. The lvalue becomes the fst of a name-value pair, and the rvalue becomes the second, with the syntax: lvalue : rvaluen

Synopsis

Documentation

conf :: [String] -> String -> String Source #

Read the lines of a configuration file, query it, and return an answer to the query.