Resugar binary primitive functions#3712
Conversation
|
I like this. The only concern is the consistency with the current |
|
Thanks for taking a look.
As far as I know,
This refers to resugaring of an operator that is already normal form right? The current work I am doing only applies to operators that have been evaluated all the way to the point of no longer being e.g. That all just means that I don't think there's any conflict with other resugaring. On the other hand, if you are saying that my new code should resugar e.g. |
|
Marking this ready for review. It was a draft while I waited for feedback on the proposal Issue but that proposal has not generated discussion so I'll officially consider this PR up for review. |
Description
This PR is an implementation of the proposal found in issue #3711.
In short, this PR resugars primitives like
prim__strAppendto their almost ubiquitous in-code names (e.g. the infix form of++instead ofprim__strAppend). Like all resugaring, this only impacts inspecting code as can be done via the REPL, IDE protocol, or LSP.Self-check
CONTRIBUTING.mdand I've updated
CONTRIBUTORS.mdwith my name.implementation, I have updated
CHANGELOG_NEXT.md