> On Apr 14, 2016, at 4:44 PM, Paul Morris <p...@paulwmorris.com> wrote:
> But if you have nested alists like this > > (define my-alist ‘((aaa . ((bbb . ((ccc . 10))))))) > > and you want to change ccc, then the “set!” trick doesn’t help. (...what > would you “set!”?) So what’s the best approach here for such nested data > structures? Maybe I should just use nested hash maps instead? Sorry if I’m > missing something obvious. Not sure I understand this entirely, but have you looked at boxes? Look at SRFI-111 in the Guile Reference.