Lazy Parsing

John Hughes rjmh@cs.chalmers.se
Thu, 28 Feb 2002 07:06:43 +0100 (MET)


There's a combinator which Phil Wadler called "guarantee" which makes a
parser lazy -- guarantee p succeeds at once, with a result which will
be produced, when demanded, by p. Many parsing libraries include it under
one name or another...

John