[R6RS] Re: Zapping SET-CAR! & SET-CDR!

Manuel Serrano Manuel.Serrano
Mon Oct 18 15:54:52 EDT 2004

> But these could be done with 2-element vectors as well.  If you're
> concerned about conciseness, you could do
> (define (kons x y) (vector x y))
> (define (kar x) (vector-ref x 0))
> (define (kdr x) (vector-ref x 1))
> (define (set-kar! x v) (vector-set! x 0 v))
> (define (set-kdr! x v) (vector-set! x 1 v))
Not enough, I want the whole list library (append, map, for-each, delete, ...).
In addition, I want the reader, I want ` , , at . In other words, I want Scheme...


More information about the R6RS mailing list