Pointwise state modifications #416
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: radrow
This would be a syntactic sugar that would possibly make it nicer to modify state fields (if it is a record, which is mostly the case).
which would desugar to
and ideally to
Created by: radrow
Note that state modifications are still explicit, as one needs to refer to the
state
as lvalue.Created by: brainiacfive
+1
I thought the compiler optimizes multiple puts into one at any rate.
Created by: marc0olo
oh yeah, I like this one! :)