Timeline for Change Operator Precedence of --> operator
Current License: CC BY-SA 4.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 10, 2018 at 5:18 | history | edited | Carl Woll | CC BY-SA 4.0 |
edited title
|
Aug 10, 2018 at 5:17 | answer | added | Carl Woll | timeline score: 5 | |
Mar 30, 2017 at 17:10 | vote | accept | Neel Basu | ||
Mar 21, 2017 at 15:40 | history | tweeted | twitter.com/StackMma/status/844212062482038787 | ||
Mar 21, 2017 at 15:10 | answer | added | Mr.Wizard | timeline score: 6 | |
Mar 21, 2017 at 14:52 | history | edited | Mr.Wizard | CC BY-SA 3.0 |
deleted 13 characters in body
|
Mar 21, 2017 at 14:16 | answer | added | Greg Hurst | timeline score: 8 | |
Mar 21, 2017 at 14:07 | comment | added | Neel Basu |
Part is not the only problem, this happens with other operators also, ^ is one such example
|
|
Mar 21, 2017 at 14:05 | comment | added | george2079 |
it seems you need to modify Part somehow, or do you want to map to the first argument of any function, obj-->f[x] -> f[obj-->x]
|
|
Mar 21, 2017 at 13:54 | answer | added | LLlAMnYP | timeline score: 10 | |
Mar 21, 2017 at 13:46 | comment | added | Neel Basu |
I've tried using Notation But that didn't work
|
|
Mar 21, 2017 at 13:30 | comment | added | Neel Basu |
However if there exists any other method that gives 2 from obj-->Part[a,1] without altering precedence, I would like to learn that too
|
|
Mar 21, 2017 at 13:29 | comment | added | Neel Basu | Yes I want the first one. | |
Mar 21, 2017 at 13:22 | comment | added | rhermans |
Do you mean you want obj-->a[[1]] to be interpreted as Part[obj-->a,1] and not obj-->Part[a,1] ? Or do you actually want obj-->Part[a,1] to give 2 ? @george2079 I think if he is talking about precedence he means the first.
|
|
Mar 21, 2017 at 13:12 | comment | added | Neel Basu | not should but I want to change precedence such that it returns 2, (without affect other operations) | |
Mar 21, 2017 at 12:50 | comment | added | george2079 |
what should obj-->Part[a,1] do?
|
|
Mar 21, 2017 at 12:37 | comment | added | evanb |
LongRightArrow doesn't have any built in precedence, according to reference.wolfram.com/language/tutorial/OperatorInputForms.html. You might be able to use reference.wolfram.com/language/ref/PrecedenceForm.html
|
|
Mar 21, 2017 at 12:16 | history | asked | Neel Basu | CC BY-SA 3.0 |