invertible-syntax-poly-0.1.0.1: Extends invertible-syntax library capable to use parameterized token type.

Copyright2012 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell98

Text.Syntax.Parser.List.StrictMaybe

Contents

Description

This module includes a strict parser implementation for Text.Syntax.Poly. Result does not have error informations.

Synopsis

Syntax instance Parser type

data Parser tok alpha Source

Naive Parser type. Parse [tok] into alpha.

runParser :: Parser tok alpha -> [tok] -> Result alpha tok Source

Function to run parser

data Result a tok Source

Result type of Parser

Constructors

Good !a ![tok] 
Bad 

Poly- morphic wrapper of runParser