next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Parsing > Parser > + Parser

+ Parser -- repetition of a parser at least once

Synopsis

Description

i1 : (+ constParser "abc" : charAnalyzer) "abcabcabc"

o1 = (abc, abc, abc)

o1 : Sequence

Code

../../../../../../../Macaulay2/packages/Parsing.m2:144:14-144:32: --source code:
+Parser := p -> prepend % p @ *p

See also