I want a built-in function renamed without loss of any properties, I want the shorter name to appear in all results and to be recognized as input. Is it possible?
I'm not sure I understand your request, but you can usually get what you want with some combination of
A direct replacement in input and output is possible with:
I'm not sure how you plan to avoid confusing
but with the rules above it prints:
This does not seem correct. What behavior do you intend in this case?
|show 10 more comments|
This should be possible using
So beware, the method below may break things and I do not recommend using it! I haven't noticed any breakage yet, but that doesn't mean it doesn't exist.
Example: suppose we want to use
And a parsing rule for
Now you can do things like this:
Note though that the parsing rule I used is extremely aggressive and it will scan every single expression it encounters for occurrences of
I needed to use this very aggressive rule because
For display purposes, you could use
So it displays as