[racket] Help needed representing data | 2d hashes?

From: Noel Welsh (noelwelsh at gmail.com)
Date: Thu Aug 12 04:03:54 EDT 2010

I don't speak Perl and didn't make it through the whole post. Is the
core problem, when you strip away the app. specific stuff, that you
want a hash of hashes? That's straightforward to implement:

(define top (make-hash))

(hash-set! top 'foo (make-hash))

and so on...

Alternatively you can make your keys tuples:

(hash-set! top '(foo bar) 'a-value)


Posted on the users mailing list.