tonyg changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://gather.town/app/wH1EDG3McffLjrs0/racket-users -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with (Dr)Racket. Remember to wait around for an answer!
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins_ has joined #racket
badkins has quit [Ping timeout: 255 seconds]
badkins_ has quit [Remote host closed the connection]
ec has quit [Ping timeout: 255 seconds]
ec has joined #racket
tumdum has quit [Ping timeout: 252 seconds]
tumdum has joined #racket
tumdum has quit [Quit: Leaving]
tumdum has joined #racket
skapata has quit [Read error: Connection reset by peer]
ur5us has joined #racket
runrin has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 256 seconds]
ur5us has joined #racket
tumdum has quit [Ping timeout: 264 seconds]
runrin has joined #racket
ur5us has quit [Ping timeout: 260 seconds]
TCZ has joined #racket
tumdum has joined #racket
mzan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
TCZ has quit [Quit: Leaving]
mzan has joined #racket
mzan has quit [Client Quit]
badkins has joined #racket
mzan has joined #racket
Origin has joined #racket
ec has quit [Ping timeout: 255 seconds]
ec has joined #racket
<eli_oat> does anyone have examples for how to work with a deeply nested hash table?
<eli_oat> I'm noodling if it'd be easier to handle json directly, rather than let it be converted into a hash table, because I've been banging my head against how best to access a hash table in a hash table in a hash table in a ...
skapata has joined #racket
ec has quit [Remote host closed the connection]
ec has joined #racket
badkins has quit [Remote host closed the connection]
<dzoe> eli_oat: I would probably roll out some wrapper to access it based on "path" - like (define path '(some deep key)) -> (for/fold ((ht deep-hash-table)) ((key (in-list path)) #:break (not (hash? ht))) (hash-ref ht key))
<eli_oat> dzoe oooh, thank you! I'll give it a go
<dzoe> You're welcome ;-)
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
FreeFull has joined #racket
codingquark has quit [Quit: No Ping reply in 180 seconds.]
codingquark has joined #racket
<eli_oat> dzoe I tried, and think I actually asked the wrong question earlier 😆
<eli_oat> I *think* my issues are from the nested hash tables being quoted, but I'm unsure how to unquote 'em. I've set up a sample project showing what I'm trying to do -- https://git.tilde.institute/elioat/december-2022/tree/src/tmp.rkt
<eli_oat> there are 2 functions, inspector1 and inspector2, 1 works more or less as I expect, 2 is supposed to test for if a value is a hash table, but it always seems to return false
sxn has joined #racket
sagax has quit [Read error: Connection reset by peer]
sxn has quit [Ping timeout: 256 seconds]
sxn has joined #racket
rekahsoft has joined #racket
sxn has quit [Ping timeout: 256 seconds]
sxn has joined #racket
sxn has quit [Ping timeout: 256 seconds]
badkins_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins_ has quit [Ping timeout: 260 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 248 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
badkins has joined #racket