Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on When is a recursive function not a recursive function?.
(defn foo baz)
does not mean the same thing as
(defn (foo n) (baz n)) == (defn foo (lambda (n) (baz n)))
because in the former case baz is dereferenced when foo is defined and in the latter case it's dereferenced when foo is called. So in the former case, if baz changes between when foo is defined and when it is called, you'll get surprising results.
There are no comments on this comment yet.
(defn foo baz)
does not mean the same thing as
(defn (foo n) (baz n)) == (defn foo (lambda (n) (baz n)))
because in the former case baz is dereferenced when foo is defined and in the latter case it's dereferenced when foo is called. So in the former case, if baz changes between when foo is defined and when it is called, you'll get surprising results.