I just came across a situation where I wanted to use
or in a reduce call:
(reduce or false [false true true])
and found out that this is not possible with or:
CompilerException java.lang.RuntimeException: Can't take value of a macro: #'clojure.core/or, compiling:(/tmp/form-init4325941840622475340.clj:1:1)
To make it work I have to wrap it in an anonymous function like this:
(reduce #(or %1 %2) false [false true true])
I would like to know why the first statement is not possible? Does the error message mean that would not be possible with any macro?