Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
user> (->> [] (reduce (fn [a b] {:a a :b b})))
ArityException Wrong number of args (0) passed to: user$eval3315$fn clojure.lang.AFn.throwArity (
user> (->> ["a"] (reduce (fn [a b] {:a a :b b})))
user> (->> ["a" "b"] (reduce (fn [a b] {:a a :b b})))
{:a "a", :b "b"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment