Handbook
Glossary
exactly-n ( parser n -- parser' )
Vocabulary
parser-combinators
Inputs
parser
an
object
n
an
object
Outputs
parser'
an
object
Definition
USING:
kernel
sequences
sequences.deep
;
IN:
parser-combinators
:
exactly-n
( parser n -- parser' )
swap
<repetition>
<and-parser>
[
flatten
]
<@
;