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
For assignments
x @= f
Desugars to
x = (f x)
And also for map access
x[k] @= f
x = (Map/map x k f)
Where Map/map does get and then set, but without having to duplicate anything.
Map/map
Then, we can implement in-line operators for maps using Map/map
x[k] += n
x = (Map/map x k @x (+ x n))
Maybe later we can add specialized adder, etc functions for better performance, but for now this is enough.
The text was updated successfully, but these errors were encountered:
Merge pull request #529 from HigherOrderCO/465-add-mapper-statements
3c9a532
#465 Add mapper statements
imaqtkatt
Successfully merging a pull request may close this issue.
For assignments
Desugars to
And also for map access
Desugars to
Where
Map/map
does get and then set, but without having to duplicate anything.Then, we can implement in-line operators for maps using Map/map
Desugars to
Maybe later we can add specialized adder, etc functions for better performance, but for now this is enough.
The text was updated successfully, but these errors were encountered: