This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Scheme style auto-resizing hashtable (fwd)


On Fri, 6 Nov 1998, Jay Glascoe wrote:

> (cons a (cons b (cons c '())))  <->  (a b c)
> 
> After (set-cdr! list (cdr list))
> 
> (cons a (cons c '()))           <->  (a c)

uh, I of course meant to write

(set-cdr! list (cddr list))

I hope I don't get corrected four times over in the next 24 hours  ;)

>
> 	Jay Glascoe
> 	jglascoe@jay.giss.nasa.gov
> 
>