Skip to content

Document implications #3944

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

Open
wants to merge 2 commits into
base: rae/modes-syntax-docs
Choose a base branch
from
Open

Conversation

goldfirere
Copy link
Collaborator

@goldfirere goldfirere commented Apr 29, 2025

As tin.

Note that this targets #3943, not main, so it may make sense to merge #3943 before this.

Review: @dkalinichenko-js

@dkalinichenko-js
Copy link
Contributor

dkalinichenko-js commented Apr 29, 2025

Looks about right. I'd add a motivating example for modalities: if 'a @ local means 'a @ local yielding, then, in order for 'a Modes.Global.t @ local -> 'a = fun x -> x.global to typecheck, the global modality must also apply unyielding to counteract the changed default.

@goldfirere
Copy link
Collaborator Author

Good idea. Please review my little addition.

Copy link
Contributor

@dkalinichenko-js dkalinichenko-js left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@goldfirere
Copy link
Collaborator Author

Perfect. This PR is then waiting for #3943 to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants