[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dynamic vs. static typing
Scott McKay wrote:
> No, no, no. In Lisp, all parameters are passed by "object
> reference" (*). Some of these objects are mutable, so you
> can change "parts" of them. Integers happen to be immutable,
> so there's no part of it you can change.
However, in Common Lisp, a conforming implementation is allowed
to copy numbers or characters at any time, so no conforming program
may depend on their object identity being preserved. The
form (EQ X X) needn't evaluate to a true value if X has
a number or character value.