Hi,
When passed to OpamPrinter.format_value, the expression (a | b) & c is printed as a | b & c, which is equivalent to a | (b & c). The function does not seem to have any way of printing parentheses (but the corresponding function in opam-format seems to work).
See ocaml/dune#3431.
Thanks!
Hi, When passed to
OpamPrinter.format_value
, the expression(a | b) & c
is printed asa | b & c
, which is equivalent toa | (b & c)
. The function does not seem to have any way of printing parentheses (but the corresponding function inopam-format
seems to work). See ocaml/dune#3431. Thanks!