ocaml-gospel / gospel

A tool-agnostic formal specification language for OCaml.
https://ocaml-gospel.github.io/gospel
MIT License
128 stars 16 forks source link

Fix printing of symbols of fixity #407

Open n-osborne opened 6 months ago

n-osborne commented 6 months ago

This PR proposes a fix of the way symbols with fixity are printed in Tterm_printer.print_term.

This is a first step towards a proprer pretty printer.

This also modifies how the fixity is encoded, proposing to store the information in a field of the identifiers with a sum type rather than in the name itself.

n-osborne commented 4 months ago

Ready for review.

n-osborne commented 1 month ago

Need rebasing since Symbols.lsymbol has been changed by #420 (4a864b1)