Make a parser that parses one value and any number of following values to combine with the first one in left-to-right (first-to-last) order.
Use leftAssoc2 if the grammar has an explicit operator between values.
Implementation is based on chain and reduceLeft.
A parser for the first value, also defines the result type (accumulator).
A parser for each consecutive value. Result type is a transformation operation for the accumulator.
Make a parser that parses one value and any number of following values to combine with the first one in left-to-right (first-to-last) order.
Use leftAssoc2 if the grammar has an explicit operator between values.
Implementation is based on chain and reduceLeft.