two (inc) calls give different result (1 and NaN) even though argument evaluates to the same value (nil)
cljs.user=> (apply max )
cljs.user=> (inc nil)
cljs.user=> (inc (apply max ))
I expect (inc (apply max )) to evaluate to 1, since (inc nil) evaluates to 1 and (apply max ) evaluates to nil.
Chromium Version 60.0.3112.113 (Developer Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit)
This is not a bug. (apply max ) in Clojure throws because that's an invalid arity.