Can I say replace item 2 of (assoc foo list) to [bar]?
What happens when you try it?
I dunno how except the cumbersomeness of making global variables.
i think it's a bit rude to say making a global variable is "cumbersome" and then expect the forum to do it instead, especially when you seem to spam the forum with questions you immediately answer on a regular basis. this is something that takes less than 5 minutes to try out, and you've made much more complicated projects.
I looked at the definition and it passes references.