| Copyright | 2011-2014 Magnus Therning |
|---|---|
| License | BSD3 |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.Ini.Reader
Description
Parser for configurations.
Synopsis
- parse :: String -> IniParseResult Config
- data IniReaderError
- = IniParserError String
- | IniSyntaxError String
- | IniOtherError String
- type IniParseResult = Either IniReaderError
Documentation
parse :: String -> IniParseResult Config Source #
Parser for a configuration contained in a String.
data IniReaderError Source #
Constructors
| IniParserError String | |
| IniSyntaxError String | |
| IniOtherError String |
Instances
| Eq IniReaderError Source # | |
Defined in Data.Ini.Reader.Internals Methods (==) :: IniReaderError -> IniReaderError -> Bool (/=) :: IniReaderError -> IniReaderError -> Bool | |
| Show IniReaderError Source # | |
Defined in Data.Ini.Reader.Internals Methods showsPrec :: Int -> IniReaderError -> ShowS show :: IniReaderError -> String showList :: [IniReaderError] -> ShowS | |
type IniParseResult = Either IniReaderError Source #