aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorHugo Herbelin2019-11-23 22:37:42 +0100
committerHugo Herbelin2019-12-03 21:22:03 +0100
commit19b2b4389b75a7701b62c5a67d9117a72656dab3 (patch)
tree202dd76ca90428fc6eea9f62c1b773b8fd290489 /dev
parenteffbc03b9072ff94f96e54a5026ce04d7aa41bcc (diff)
Printing: Interleaving search for notations and removal of coercions.
We renounce to the ad hoc rule preferring a notation w/o delimiter for a term with coercions stripped over a notation for the fully-applied terms with coercions not removed. Instead, we interleave removal of coercions and search for notations: we prefer a notation for the fully applied term, and, if not, try to remove one coercion, and try again a notation for the remaining term, and if not, try to remove the next coercion, etc. Note: the flatten_application could be removed if prim_token were able to apply on a prefix of an application node.
Diffstat (limited to 'dev')
0 files changed, 0 insertions, 0 deletions