ConfigFile-1.1.1: Configuration file reading & writing

Portability | portable
Stability | provisional
Maintainer | John Goerzen <jgoerzen@complete.org>
Safe Haskell | None

Data.ConfigFile.Parser

Description

Parser support for Data.ConfigFile. This module is not intended to be used directly by your programs.

Copyright (c) 2004-2008 John Goerzen, jgoerzen@complete.org

Synopsis

- parse_string :: MonadError CPError m => String -> m ParseOutput
- parse_file :: MonadError CPError m => FilePath -> IO (m ParseOutput)
- parse_handle :: MonadError CPError m => Handle -> IO (m ParseOutput)
- interpmain :: (String -> Either CPError String) -> Parser String
- type ParseOutput = [(String, [(String, String)])]

# Documentation

parse_string :: MonadError CPError m => String -> m ParseOutput Source

parse_file :: MonadError CPError m => FilePath -> IO (m ParseOutput)Source

parse_handle :: MonadError CPError m => Handle -> IO (m ParseOutput)Source

interpmain :: (String -> Either CPError String) -> Parser String Source

type ParseOutput = [(String, [(String, String)])]Source

Internal output from parser