[plt-scheme] What am I misunderstanding about weak hash tables?

From: Eric Hanchrow (offby1 at blarg.net)
Date: Tue Aug 14 09:55:40 EDT 2007

>>>>> "Matthew" == Matthew Flatt <mflatt at cs.utah.edu> writes:

    Matthew> Try changing the `weak-string' definition to

    Matthew>   (define weak-string (string-copy "I'm a weak string"))

    Matthew> With that change, your tests pass for me.

Aha!  Indeed, they now work; thanks.

-- 
This movie doesn't scrape the bottom of the barrel.  This movie isn't
the bottom of the barrel.  This movie isn't below the bottom of the
barrel.  This movie doesn't deserve to be mentioned in the same
sentence with barrels.
        Roger Ebert on "Freddy Got Fingered"


Posted on the users mailing list.