Closed Alex23087 closed 7 months ago
Addressing these issues in order:
Agree on the naming, will be changing them exchanging conciseness for clarity;
Same as previous point;
That is a good point, working on it.
In general it is not possible, as the annotation is not necessarily a Show
able type. A possible design choice is defining a default print function that behaves like [@opaque]
, and allowing the user to pass a different one. Making this work together with ppx could make the code and the instantiation of the module more clunky;
Not sure about that, if OCAML defines a module for each file, probably no.
The module mechanism with the generic annotation type is fitting for the task, but a number of issues are present:
Other comments: