Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix type_equal docs for OCaml 4.12 injectivity annotations #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mheiber
Copy link

@mheiber mheiber commented Jun 11, 2023

Update doc comments to reflect that OCaml has injectivity annotations.

Previously the doc comments for Type_equal.mli "OCaml has no built-in language feature to state that a type is injective" but such comments were added in 4.12.

This change may be helpful for code readers to know that OCaml has a built-in alternative to the Injectivity machinery, though tbh I'm not sure what the trade-off is when choosing to use Injectivity vs !

@mheiber mheiber marked this pull request as ready for review June 11, 2023 11:22
@github-iron github-iron added the forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system. label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants