Suppose I've got an assoc-list like this:
(setq x '((foo . ((bar . "llama") (baz . "monkey")))))
And I want the value at
bar. I can do this:
(assoc-default 'bar (assoc-default 'foo x))
But what I'd really like is something that accepts multiple keys, like
(assoc-multi-key 'foo 'bar x)
Does such a thing exist, perhaps in a package somewhere? I'm sure I could write it, but I feel like my Google-fu is just failing and I can't find it.