Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Objects All the Way Down. Parent comment
I did at one point try to specialise everything. The results were hilarious...
var a = cons(cons(cons(cons(empty, 1), 2), 3), 4);
There are no comments on this comment yet.
I did at one point try to specialise everything. The results were hilarious...
As the left-hand-side of each cons was a slightly different type, it ended up generating four different versions of the cons function!