News for hackers. Stuff that matters.
Re:Anonymous Recursive Functions in Racket by skrishnamurthi on Saturday September 06, 2025 @08:17PM (#45154096)
If it helps, you will find the Y-combinator described (indeed, derived) in the first edition (https://cs.brown.edu/~sk/Publications/Books/ProgLangs/2007-0...) of the author's programming languages book (https://www.plai.org/). (Page 228, if that helps, though the derivation begins on page 223.)

For added fun, the day he teaches it in class, he wears a t-shirt from Y-combinator the startup accelerator (and explains what its name means).

Now that we've gotten that out of the way, it remains unclear what is surprising or unpleasantly surprising about the code.

Re:Anonymous Recursive Functions in Racket by adityaathalye on Sunday September 07, 2025 @12:16AM (#45155354)
Shriram invoking Shriram ... (λ.x (x x) λ.x (x x)) forever \m/ :)
Re:Anonymous Recursive Functions in Racket by userbinator on Sunday September 07, 2025 @01:25AM (#45155630)
This reminds me of when John Nagle showed up in a thread about his algorithm on here.