Re: [racket] Nested hash table update

2011-07-10 Thread Jos Koot
Ramakrishnan Muthukrishnan Sent: domingo, 10 de julio de 2011 17:58 To: users@racket-lang.org Subject: [racket] Nested hash table update Hi, Is there a way to use hash-set on a nested hash table and set the value of a deeply nested key and return the entire updated hash table ? --   Ramakrishnan

Re: [racket] Nested hash table update

2011-07-10 Thread Ramakrishnan Muthukrishnan
On Sun, Jul 10, 2011 at 9:28 PM, Ramakrishnan Muthukrishnan wrote: > > Is there a way to use hash-set on a nested hash table and set the > value of a deeply nested key and return the entire updated hash table > ? Ok, I wrote this function which serves my purpose: (define (hash-set-in ht ks v)

[racket] Nested hash table update

2011-07-10 Thread Ramakrishnan Muthukrishnan
Hi, Is there a way to use hash-set on a nested hash table and set the value of a deeply nested key and return the entire updated hash table ? --   Ramakrishnan _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/user