
26 Mar
2007
26 Mar
'07
11:38 p.m.
Wagner Ferenc wrote:
David Brown
writes: Does anyone know of any existing Parser parsers that don't consume their entire input, or am I probably best off making my own parser.
Thomas Zielonka published his Parsec combinator lazyMany on this list a couple of times, Google for it. Here is my application of his idea:
lazyMany :: Parser a -> SourceName -> String -> [a]
Excellent, exactly what I was looking for. Thanks, David Brown