We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with region
Since the language construct region r { ... } has a binding occurrence for r, I would find it more consistent to write region { r => ...}.
region r { ... }
r
region { r => ...}
Moreover, I would like to have with syntactic sugar for regions: with region r; ... should translate to region { r => ... }.
with
with region r; ...
region { r => ... }
The text was updated successfully, but these errors were encountered:
I think it would make sense to do this, but I forsee a problem.
If you'd want both at the same time and if we were to be consistent with how we treat other computations, then:
region { {r} => ... }
with def r = region; ...
EDIT: It does have an upside, region then needn't be a keyword anymore :^)
region
Sorry, something went wrong.
No branches or pull requests
Since the language construct
region r { ... }
has a binding occurrence forr
, I would find it more consistent to writeregion { r => ...}
.Moreover, I would like to have
with
syntactic sugar for regions:with region r; ...
should translate toregion { r => ... }
.The text was updated successfully, but these errors were encountered: