Sync upstream changes (2026-11-11) #3

Merged
Greensky merged 7 commits from sync/upstream-20261111-110226 into master 2026-11-11 11:02:28 +00:00
Owner

New upstream commits

  • 2b54c4a6c OCaml extraction: print_vsty_fun can use quoted type variables (François Bobot)
  • f3b4824e4 OCaml extraction: optional .mli with the contracts documented in odoc syntax (François Bobot)
  • 909ce2c42 OCaml interface: document the fields that a function writes (François Bobot)
  • 9404a8d75 Pretty.create: optional printer for the function symbols (François Bobot)
  • dd58a31ed OCaml interface: document the invariants, add --interface-private (François Bobot)
  • 1c4247232 Merge branch 'bobot/agent/why3find/ocaml-interface' into 'master' (BOBOT Francois)
### New upstream commits - 2b54c4a6c OCaml extraction: print_vsty_fun can use quoted type variables (François Bobot) - f3b4824e4 OCaml extraction: optional .mli with the contracts documented in odoc syntax (François Bobot) - 909ce2c42 OCaml interface: document the fields that a function writes (François Bobot) - 9404a8d75 Pretty.create: optional printer for the function symbols (François Bobot) - dd58a31ed OCaml interface: document the invariants, add --interface-private (François Bobot) - 1c4247232 Merge branch 'bobot/agent/why3find/ocaml-interface' into 'master' (BOBOT Francois)
With --modular --interface the interface is generated with the implementation:
the types, the exceptions and the signatures of the functions. The requires,
ensures and raises of each function are documented with odoc tags.
OCaml interface: the doc of a function no longer renames a field because of
an argument with the same name.
The invariant of a type is documented like the precondition of a function.
The types that are private in WhyML are private in the .mli only with
--interface-private, so that it can be used for the exported modules only.
OCaml extraction: optional `.mli` with odoc contracts

See merge request why3/why3!1404
Greensky merged commit aa9c29bc3d into master 2026-11-11 11:02:28 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Greensky/why3!3
No description provided.