News for hackers. Stuff that matters.
Re:Why your REPL experience sucks by dmux on Wednesday November 30, 2022 @05:34PM (#33808909)
>The critical idea here is it applies to long-running functions, like a loop, a server, or other things. These, when handed function objects, will not reflect new behavior if you re-evaluate a single function.

Do you mind going into more details about what you mean here? In my experience, recursive loops will pick up a new function definition but non-recursive loops will only pick up the definition of a function upon entry.

Re:Why your REPL experience sucks by suskeyhose on Wednesday November 30, 2022 @11:40PM (#33812404)
The idea is such a long lasting loop would take the function object as an argument and call it repeatedly. Recursive or not (tho in clojure's case definitely not, no tail call optimization), doesn't matter as the lookup happened at the first function call.