opal
opal copied to clipboard
Added pair combinator
Instead of using >>= as a generic but a bit cumbersome way to work with tuples of arbitrary length, you can use <~~> to pair up combinators.
@pyrocat101 thoughts?
Missing the corresponding mli change:
val ( <~~> ) : ('token, 'a) parser -> ('token, 'b) parser -> ('token, ('a * 'b)) parser