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 From my answers to other qeustions here are an example of A direct replacement in input and output is possible with:
Then:
I'm not sure how you plan to avoid confusing
is normally:
but with the rules above it prints:
This does not seem correct. What behavior do you intend in this case? |
|||||||||||||||||||||
|
|
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 |
||||
|
|


