Re: [Scheme-reports] Procedural equivalence: the last debate Alan Watson (05 Jun 2013 01:15 UTC)

Re: [Scheme-reports] Procedural equivalence: the last debate Alan Watson 05 Jun 2013 01:14 UTC

> Using addresses wouldn't work, generate-unique-value
> would have to increment a global counter (which need
> not be unique to this location).  Though if the counter
> ever overflows into a bignum all optimization is lost.

Sure, just

(define (generate-unique-value) (cons #t #t))

or something similar.

Regards,

Alan

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports