Open OAGr opened 7 months ago
Renaming is easy, but we also should keep old names as aliases. E.g., reduce(arr, 1, multiply)
is convenient.
So we'll have to duplicate code (ugh), or support aliases: ...
in FRFunction
(preferable).
On naming, I suggest we go either with operator names, internally, or with #add
.
On naming, I suggest we go either with operator names, internally, or with #add.
Operator names are nice in that we won't have to invent new names, but #add
tokens are more greppable, so I'm leaning towards latter.
This shouldn't break things:
We could instead map the infixes to alternate versions of these names, like,
operationMultiply
, or something less used. We might well want to make these special key words that can't be shadowed.