some

fun <S, A> some(parser: Parser<S, A>): Parser<S, List<A>>

Creates a parser that matches one or more occurrences of the given parser.

Return

A parser that matches one or more occurrences of the given parser.

Parameters

parser

The parser to match one or more times.