@hiredman: this is the code https://www.refheap.com/d9418416ff7a30e9668721c9e
are you saying "prefer for loop
over map
"? if so, why is that?
or was it "replace both maps with a single for loop"?
for is not a loop in clojure
for is a sequence comprehension
for can map, mapcat, filter, and take-while, and can do over products of seqs
http://programming-puzzler.blogspot.com/2013/03/logic-programming-is-overrated.html has some nice complicated usages of for so you can see what you can do with it
@hiredman: oh, sweet, thank you