commaList

fun <A : Any> commaList(parser: Parser<Char, A>): (ParserInput<Char>) -> ParserOutput<List<A>>

A parser that parses a list of expressions separated by commas.

Return

A parser that parses a comma-separated list of expressions.

Parameters

parser

The parser for the individual expressions.