From 3e5d3d47c90194403967e11994ea559b00b0f8ef Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 19 Mar 2016 11:58:38 +0100 Subject: Update documentation --- Data/ConfigManager/Types.hs | 2 +- Data/ConfigManager/Types/Internal.hs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Data/ConfigManager') diff --git a/Data/ConfigManager/Types.hs b/Data/ConfigManager/Types.hs index ddc578f..ea2691f 100644 --- a/Data/ConfigManager/Types.hs +++ b/Data/ConfigManager/Types.hs @@ -4,7 +4,7 @@ -- Maintainer: Joris Guyonvarch -- Stability: experimental -- --- Types for working with configuration files. +-- Configuration management types. module Data.ConfigManager.Types ( Config(..) diff --git a/Data/ConfigManager/Types/Internal.hs b/Data/ConfigManager/Types/Internal.hs index 5b91802..c4d5d0e 100644 --- a/Data/ConfigManager/Types/Internal.hs +++ b/Data/ConfigManager/Types/Internal.hs @@ -10,28 +10,28 @@ import Data.Text (Text) import Data.HashMap.Strict --- | Configuration data +-- | Configuration data. data Config = Config { hashMap :: HashMap Name Value } deriving (Eq, Read, Show) --- | An expression is either a binding or an import +-- | An expression is either a binding or an import. data Expr = Binding Name Value | Import Requirement FilePath deriving (Eq, Read, Show) --- | A name is a text +-- | A name is a text. type Name = Text --- | A value is a text +-- | A value is a text. type Value = Text --- | A requirement is either required or optional +-- | A requirement is either required or optional. data Requirement = Required -- cgit v1.2.3