Once p1 is matched, disable backtracking.
Once p1 is matched, disable backtracking. Does not consume p1 and yields the result of p2
Once p1 is matched, disable backtracking.
Once p1 is matched, disable backtracking. Consumes p1 and yields the result of p2
(Changed in version 2.9.0) The p0
call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
A parser generator for a specified range of repetitions.
A parser generator for a specified range of repetitions.
repRange(min, max, p) uses p' from
min' upto max' times to parse the input
(the result is a
List' of the consecutive results of p')
a Parser' that is to be applied successively to the input
A parser that returns a list of results produced by repeatedly applying p' to the input
(and that only succeeds if
p' matches exactly n' times).
Parser for a more concise version of haml/scaml inspired by jade: http://github.com/visionmedia/jade