Scroll to navigation

Parse.ParseResult(3kaya) Kaya module reference Parse.ParseResult(3kaya)

NAME

Parse::ParseResult - Parse result

SYNOPSIS

Parse::ParseResult< a >
= Success(a val)
| ParseError(String err,Int line,Int pos)

DESCRIPTION

This data type represents the results of parsing a String - either an object of the same type as the parser, or an error containing details and a location.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Parse.parse (3kaya)
August 2014 Kaya