[comp.lang.scheme] EQUAL? vs. EQ?

plogan@dad.mentor.COM (Patrick Logan) (08/27/90)

I just received my own mail to this group and decided to qualify what I wrote.

I wrote:
    (define (bar x) (cons x 1))
    It is a function.

In [most?] Schemes this is a true function using EQUAL? but not EQ? because it
returns a unique cons with each call.