cursive 2026-11-03

Oh. Minor surprise. I extracted a value into a let block and renamed it, and another variable in scope that was called value also got renamed! 😂 I can see how this happens and arguably 'value' is not a great name for a variable - but in this case there was a legitimate reason for it to be called 'value'.

😱 1

Yeah, this is tricky though because it's valid (and common) in Clojure to shadow previous bindings. Perhaps a warning might be in order though....

If the extracted binding was named something like _`__super_obscure_name_697__`_ then presumably this would work without issue? (suggested name might need workshopping / bikeshedding a little)

(gensym "extracted-value-") ?