[m-rev.] for post-commit review: add an XXX about a bug in pretty_printer.m

Zoltan Somogyi zoltan.somogyi at runbox.com
Fri Aug 26 14:59:04 AEST 2022


Does anyone happen happen to have examples of large terms that heavily use
several standard Mercury operators of different priorities and/or associativities
that I can use as test data for demonstrating the presence of this bug?
I will use synthetic data if I have to, but I would prefer real world data.

By the way, would anyone object to changing ops.m to export not just
the op_table typeclass, but the predicates implementing its methods
for the Mercury operators? With those predicates hidden, pretty_printer.m
needs to do unnecessary work every time it formats a term; those exports,
and a couple of helper predicates, could fix that.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.pp2
Type: application/octet-stream
Size: 309 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20220826/2921df9c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.pp2
Type: application/octet-stream
Size: 20410 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20220826/2921df9c/attachment-0003.obj>


More information about the reviews mailing list