CoreErlang-0.0.2: Manipulating Core Erlang source code

Portabilityportable
Stabilityexperimental
MaintainerAlex Kropivny <alex.kropivny@gmail.com>

Language.CoreErlang.Parser

Description

Synopsis

Documentation

parseModule :: String -> Either ParseError (Ann Module)Source

Parse of a string, which should contain a complete CoreErlang module

data ParseError

The abstract data type ParseError represents parse errors. It provides the source position (SourcePos) of the error and a list of error messages (Message). A ParseError can be returned by the function Text.Parsec.Prim.parse. ParseError is an instance of the Show class.

Instances