Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Nathan Baum <nathan_baum@xxxxxxxxxxxxxx>
- Date: Sun, 21 Aug 2005 06:24:05 +0100
Jon Harrop wrote:
Nathan Baum wrote:
You misunderstand me. I mean that the Mathematica equivalent of 'X, which I suppose is just (X), would behave that way.
I don't understand. The Mathematica equivalent of 'X is Hold[X]?
No. Because Mathematica has a wildly different evaluation model, its equivalent of 'X is simply (X) -- Mathematica keeps evaluating until an expression doesn't change. 'X changes when it is evaluated, and therefore, from Mathematica's point of view, 'X is equivalent to (X).
Note that this has nothing to do with the similarity between QUOTE and Hold. This is entirely to do with evaluation semantics, which are definitely not the same.
How do you propose to judge the similarity of QUOTE and Hold _without_ considering how they effect the evaluation of expressions?
.
- Follow-Ups:
- Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Jon Harrop
- Re: Lisp's QUOTE and Mathematica's "Hold"
- References:
- Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Ulrich Hobelmann
- Re: Very poor Lisp performance
- From: Jon Harrop
- Re: Very poor Lisp performance
- From: Brian Downing
- Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Jon Harrop
- Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Nathan Baum
- Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Jon Harrop
- Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Nathan Baum
- Re: Lisp's QUOTE and Mathematica's "Hold"
- From: Jon Harrop
- Very poor Lisp performance
- Prev by Date: Re: Lisp's QUOTE and Mathematica's "Hold"
- Next by Date: Re: Lisp's QUOTE and Mathematica's "Hold"
- Previous by thread: Re: Lisp's QUOTE and Mathematica's "Hold"
- Next by thread: Re: Lisp's QUOTE and Mathematica's "Hold"
- Index(es):
Relevant Pages
|