In the doc for dotimes, the "bindings" are required as "name n" (see below).
Hence (dotimes [i 5] ... ) is the only pattern. Check out (doseq and (for
for what you're trying to do.
user=> (doc dotimes)
-
clojure.core/dotimes
([bindings & body])
Macro
bindings => name n
Hi!
>>dotimes
>>macro
>>Usage: (dotimes bindings & body)
This is from clojure api.
But I don't know how to use dotimes with several bindings. I've tried
to do it different ways, but I got error every time.
So how to use dotimes with several bindings?
--
You received this message because you are