'at(a, b)
provokes a Lisp error: "CAR: $B is not a list"
at(a, b)
provokes a Maxima error: "at: improper argument: b"
I guess at
is expecting the second argument to be an equation or a list of equations. That's great, so the Maxima error from at(a, b)
is okay; the problem is that 'at(a, b)
should likewise give a Maxima error, not a Lisp error.
while "improper argument" is correct we might be more specific here, too...
The function $AT is here:
(an extract from "src/comm2.lisp")
(if (notloreq ateqs) (improper-arg-err ateqs '$at))
checks the second argument of $AT, and shows the error message if necessary.On the other hand, the function SIMP-%AT does not have it as follows: