News for hackers. Stuff that matters.
Re:Anonymous Recursive Functions in Racket by skrishnamurthi on Sunday September 07, 2025 @03:37PM (#45161445)
It's not the same thing. `recur` in Clojure must be in tail-position. This program

https://news.ycombinator.com/item?id=45154253

would therefore not work.

Re:Anonymous Recursive Functions in Racket by adityaathalye on Sunday September 07, 2025 @04:02PM (#45161649)
I was trying to say something like that with my note in the GP comment:

  > "nb. Clojure doesn't have automatic tail call optimisation. We need to explicitly emulate it with`recur`."
Just an average joe programmer here... advanced macrology is way above my pay grade :sweat-smile:.