All Questions
Tagged with upvalues core-language
4 questions
17
votes
1
answer
467
views
Broken ValueQ function in Mma12.2?
f[x] ^= 1;
ValueQ[g[x]]
returns True in Mathematica 12.2. Is it a bug?
5
votes
2
answers
293
views
Why this upvalue doesn't escape from Sum?
Probably a hard question, but I decide to cry out loud :).
This is actually another problem I encountered when answering this question. Consider the following transform rule stored as an upvalue:
<...
12
votes
1
answer
189
views
Strange behavior of UpSetDelayed together with MakeBoxes
In order to answer this question, I just stumbled into the world of UpValues. Though I managed to find a solution for the problem, I'm confused by my own code now 囧,...
22
votes
2
answers
624
views
What does f_[whoCalled]^:=f really mean?
I came across the following post by John Doty in this Google Groups discussion:
On Friday, January 11, 2013 8:23:16 PM UTC-7, amzoti wrote:
It is clear the Mathematica uses Lisp as one ...