Make a parser that parses one value and any number of following operators and values to combine with the first one in left-to-right (first-to-last) order.
Use leftAssoc1 if the grammar doesn't have an explicit operator between values.
Implementation is based on chain, reduceLeft and ab.
A parser for the first value, also defines the result type (accumulator).
A parser for an operator function.
A parser for each consecutive value.
Generated using TypeDoc
Make a parser that parses one value and any number of following operators and values to combine with the first one in left-to-right (first-to-last) order.
Use leftAssoc1 if the grammar doesn't have an explicit operator between values.
Implementation is based on chain, reduceLeft and ab.