[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: why are there no mutable collections?]



> (begin
>   (dictionary-put! h 1 'a)
>   (dictionary-put! h 2 'b)
>   (collection-fold-keys-increasing h
>     (lambda (k ls)
>       (values #t (cons k ls)))
>     '()))
> 
> 	Scott


I meant to write use hashtable-put! in the second example.

-- 

Attachment: pgp7zqGDvdVXA.pgp
Description: PGP signature