Hacker News new | ask | show | jobs
by isxek 3529 days ago
Thanks for this. I've seen the "CONS should not CONS" paper somewhere, but skimming over it never really got me anywhere even close to this explanation. I always thought it was some in-jokey reference to US politics, but I couldn't connect the MTA concept.
1 comments

  Oh let me tell you a story about a function named *recursive* on a tragic and faithful time,
  It was called with 3 long ints, popped the stack and set a jumpbuf, called itself on the SGI.

  But did it ever return? No, it never returned, and its value is still unknown,
  It may run forever on the SGI mainframe, it's the function that never returned.

  Well that function ran a check to see when the stack would overflow, it ran almost past they say,
  But when it got there the function called a longjump on the jumpbuf,
  It just wasn't returning that day.

  But did it ever return? No it never returned, and its value is still unlearned
  It may run forever on the SGI mainframe, it's the function that never returned.
Man, GLS makes this look so easy. It's actually kind of hard.