Macaulay2 » Documentation
Packages » Parsing > Parser > + Parser
next | previous | forward | backward | up | index | toc

+ 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:13-144:31: --source code:
+Parser := p -> prepend % p @ *p

See also

Ways to use this method: