Questions tagged [language-design]
for questions about the design of the Mathematica language itself
149 questions
2 votes
0 answers
193 views
Define a constant from a sequence of lower bounds and upper bounds
The thing I want to do seems very fundamental when you're in the mathematical forest of constants, I'm surprised it hasn't been asked yet. I want to define a constant that is not directly definable by ...
2 votes
0 answers
98 views
Why do rules not default to local scope? [closed]
Consider the following: 80 //. a_?EvenQ -> a/2 a = 3 80 //. a_?EvenQ -> a/2 which outputs: 5 3 3/2 I think I understand ...
4 votes
0 answers
111 views
Why does `MakeBoxes` have the HoldAllComplete attribute and ignore it rather than HoldAll?
MakeBoxes has the attribute HoldAllComplete. For a normal function, it would imply that Upvalues should not be taken into account when the expression is evaluated: <...
7 votes
1 answer
289 views
What is the difference between OperatorApplied and CurryApplied?
Reading both OperatorApplied & CurryApplied function documentations seems to indicate that they are essentially the same ...
4 votes
2 answers
446 views
What should mapping over a number or symbol produce?
I expected it to be an error (i.e., produce an error message), but Map[f,num] is num. Why is this the correct behavior? If it is ...
4 votes
1 answer
416 views
Differences between minimization functions?
There's more than 20 functions having to do with minimization ...
9 votes
0 answers
95 views
Does ArgumentsOptions do anything we couldn't do without it? [closed]
ArgumentsOptions was new in version 12.2. I looked at the application on that page, and it makes code very difficult to understand. What if anything does ArgumentsOptions do for us that we couldn't do ...
2 votes
0 answers
171 views
Why is ComplexQ not available? [closed]
For names = Names["System`*"]; executing the following returns 200 hits. ...