Kaya 0.5.2 reference for Parse::pred

List of functions and data types in Parse

Char pred(Bool(Char) p, var ParseState st)

Arguments

Usage

This function parses any character, returning it if it matches the predicate function, and throwing an Exception otherwise.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya