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

Support let-punning #1

Open
TheLortex opened this issue Jan 3, 2022 · 0 comments
Open

Support let-punning #1

TheLortex opened this issue Jan 3, 2022 · 0 comments

Comments

@TheLortex
Copy link

let-punning was introduced in OCaml 4.13.0 as a shorthand notation for variable bindings:
let+ variable = variable in ... can be reduced to let+ variable in

(see https://ocaml.org/manual/bindingops.html#ss:letops-punning)

It would be useful to support that in the future_syntax preprocessor of dune.

@TheLortex TheLortex changed the title Support _let-punning_ Support let-punning Jan 3, 2022
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

No branches or pull requests

1 participant