diff options
author | Joris | 2016-03-19 11:58:38 +0100 |
---|---|---|
committer | Joris | 2016-03-19 11:58:38 +0100 |
commit | 3e5d3d47c90194403967e11994ea559b00b0f8ef (patch) | |
tree | 1a374a3668ce1760494c016d744e399f1b584173 /Data/ConfigManager | |
parent | bf804f73ce3494be430054499c5ce18f232f68ca (diff) |
Update documentation
Diffstat (limited to 'Data/ConfigManager')
-rw-r--r-- | Data/ConfigManager/Types.hs | 2 | ||||
-rw-r--r-- | Data/ConfigManager/Types/Internal.hs | 10 |
2 files changed, 6 insertions, 6 deletions
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 <joris@guyonvarch.me> -- 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 |