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

Do not enforce let punning in let operators #79

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

dvulakh
Copy link

@dvulakh dvulakh commented Jun 26, 2024

We do not use operators like let* internally, so we don't gain much by punning them. Meanwhile, enforcing that they are punned complicates the process of keeping internal copies of some external projects in sync with upstream.

We restrict the let-punning added to the janestreet profile in #70 to let extension points, like let%bind x in ().

The tests reflect the new behavior.

@dvulakh dvulakh requested a review from ccasin June 26, 2024 19:00
Signed-off-by: David Vulakh <dvulakh@janestreet.com>
@dvulakh dvulakh force-pushed the dvulakh.do-not-pun-let-operators branch from d19cb86 to 2783bf2 Compare June 26, 2024 19:07
Copy link

@ccasin ccasin left a comment

Choose a reason for hiding this comment

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

LGTM - thanks!

@dvulakh dvulakh merged commit 21fe0cf into jane Jun 27, 2024
8 checks passed
@dvulakh dvulakh deleted the dvulakh.do-not-pun-let-operators branch June 27, 2024 12:22
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