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

PortabilityPortable (Cookbook)
StabilityStable
Maintainernathanpisarski@gmail.com
Safe HaskellSafe-Inferred

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 -> StringSource

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