Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on 2 is a code smell.
tl;dr Clojure is awesome. And use
(defn add-vectors [& vs] (vec (apply map + vs)))
(defn add-vectors [va vb] [(+ (first va) (first vb)) (+ (second va) (second vb))])
There are no comments on this comment yet.
tl;dr Clojure is awesome. And use
instead of since in Clojure code that operates on 1 or N things is usually better than some other fixed value. (Like 2.)