[Maxima] Sanitize is not fool proof (yet) .Sanitize2 seems to work as advertized.
robert.dodier at gmail.com
Tue Jan 2 08:56:34 CST 2007
On 1/2/07, Michel Van den Bergh <michel.vandenbergh at uhasselt.be> wrote:
> > Are you aware that of the syntax f('x):=... creates a function which
> > does not evaluate x when called?
Hmm, that's interesting. I don't remember seeing that one before.
Looks like the documentation for := can be beefed up; I'll work on it.
> Now I ***know*** one can rewrite this example so that it works (e.g.
> Richard has given a fairly generic way using ?gensym()).
> But this is not my point. The ***user should not have to worry about
> this***. After all this is a ***completely trivial one line program***.
> It should work as expected.
I think we all agree that lexical scope is generally better than dynamic.
We're just working on stuff as our limited time and expertise allows.
All the best,
More information about the Maxima