|
|
|
|
|
by yamtaddle
1300 days ago
|
|
> write a program to list them all! Me: Is it OK if it doesn't print until it's done? Interviewer: Uh, sure, why not? Me: while(1){} Me: Finished. This produces the exact desired output of the program you specified. Interviewer: GTFO. |
|
Interestingly in Haskell the only pure program of type variable “a” where a means any type at all is the one that never quits:
Which amounts to the same thing: it can do anything - produce any type - but it takes literally forever.