Could you provide the stack trace of the exception?
I don't see any obvious problems, but the error may be caused by data
you pass into the function. Alternatively perhaps the error is not
caused inside let, but whatever consumes the results.
Maybe also providing a sample of the raw data would be
I'm a clojure newbie, trying to automate a script at work and running
into an issue.
Given a function
(defn diffCommonOrders
"For each order, checks the two execs maps
for the entries and reports the differences"
[orders1 orders2 execs1 execs2]
(for [order (vals orders1) :when (not-empty