25 karma · joined Sep 9, 2018 (8y ago) · 15 submissions
comment 7y ago · link · parent
8.
Ask HN: People currently [Working] in compilers, what are your goto resources
8 points · by serialdev · 7y ago · 2 comments
comment 8y ago · link · parent
(defmacro or
"Evaluates exprs one at a time, from left to right. If a form
returns a logical true value, or returns that value and doesn't
evaluate any of the other expressions, otherwise it returns the
value of the last expression. (or) returns nil."
{:added "1.0"}
([] nil)
([x] x)
([x & next]
`(let [or# ~x]
(if or# or# (or ~@next)))))
Also check this http://lists.warhead.org.uk/pipermail/iwe/2005-July/000130.h...comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent