[R6RS] `eqv?' on immutable records

R. Kent Dybvig dyb at cs.indiana.edu
Tue May 15 09:56:30 EDT 2007


> This means you'd prefer this:
>
> (eqv? '(a) '(a)) => #f

No.  As I said:

> I'm okay with allowing constants to be commonized, so, for example:
> ...
>   (eq? '(a) '(a)) ;=> #t or #f

That is, it's okay with me if the evaluator allocates only one copy of the
quoted (a) if it appears in multiple places within a program.

Kent



More information about the R6RS mailing list