3 ms·
Paul Graham's was wrong in his book (see http://www.paulgraham.com/howbroken.html http://www.paulgraham.com/howbroken.html) but fixed in his later code listing
by zachbeane 16y ago
Paul Graham's was wrong in his book (see http://www.paulgraham.com/howbroken.html http://www.paulgraham.com/howbroken.html) but fixed in his later code listing (see http://lib.store.yahoo.net/lib/paulgraham/acl2.lisp http://lib.store.yahoo.net/lib/paulgraham/acl2.lisp). The Clojure code looks like the broken version to me.
- pg 16y agoI think you're mistaken. The Clojure version seems to be derived from the Arc version at http://ycombinator.com/arc/bst.arc http://ycombinator.com/arc/bst.arc, which is turn derived from the corrected Common Lisp version.