Copyright | 2012 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell98 |
This module includes a lazy parser implementation for Text.Syntax.Poly. Result does not have error informations.
- data Parser tok alpha
- runParser :: Parser tok alpha -> [tok] -> Maybe (alpha, [tok])
- runAsParser :: Eq tok => RunAsParser tok a ErrorString
Syntax instance Parser type
Naive Parser
type. Parse [tok]
into alpha
.
Poly- morphic wrapper of runParser
runAsParser :: Eq tok => RunAsParser tok a ErrorString Source