@halcy i take it these pieces of code are too small to justify extracting them to separate functions?
hm! that's an interesting idea~ a little anti-lexical zone to save yourself from footguns
i wonder how hard it would be to write a macro that created like...a function with a random name in the global scope (to break out of your lexixal one) and to call it (so it isn't extra work to do this inline wherever you wanted it)
@halcy alright! i have a naive version of this working!
basically the anti-scope
macro is a let form that makes random names for the things you bind to it, and then replaces all the symbols in the body to be those random names. if it can't find a name, it looks in the namespace, or errors out failing that
so! of the two let forms at the bottom, only the first one works because a
wasn't brought into the scope
the second pic is what the first test expands to so you can see what's happening~