John Cowan wrote:
> Per Bothner scripsit:
>
>> [I]t seems that if you were to design a language from scratch you
>> probably make a clearer distinction between values and objects.
>
> Actually the distinction is quite clear: something is a value
> if it's immutable, and not a value if it is mutable.
Right, but this distinction is not intrinsic to Scheme or Common
Lisp, which was my point: A language designed from scratch would
probably not have eq? defined on values, only on objects.
--
--Per Bothner
per_at_bothner.com http://per.bothner.com/
Received on Sat Feb 10 2007 - 23:05:13 UTC