News for hackers. Stuff that matters.
Re:The Magic of Partial Evaluation by tpoacher on Wednesday November 18, 2026 @06:45PM (#50553971)
Not OP, and probably not what he meant, but for me the insight that any for loop can be expressed as a fully equivalent tail-recursive call and vice-versa is what I would describe as my No.3 moment.
Re:The Magic of Partial Evaluation by packetlost on Wednesday November 18, 2026 @07:01PM (#50554106)
I don't think that's what is being said. The statement is more like 'any imperative program can be represented by a purely functional representation', which goes beyond simply modeling loops with tail call elimination.