speculative

https://github.com/borkdude/speculative
borkdude 2018-11-01T17:15:32.000800Z

it seems like clojure.set/union only returns nil when you use nil as the first arg, or for all args:

user=> (clojure.set/union)
#{}
user=> (clojure.set/union nil)
nil
user=> (clojure.set/union nil #{})
nil
user=> (clojure.set/union #{} nil)
#{}
user=> (clojure.set/union nil nil #{})
#{}
user=> (clojure.set/union nil nil nil)
nil
Not something worth over-speccing probably 😛

borkdude 2018-11-01T17:19:06.001400Z

Maybe something for the style guide: consider if input and output could be nilable