-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
Description
Hi there,
I am a beginner and wanted to use your example to get the next three days from today. That didn't work out as far as I can judge.
The repl tells me:
ArityException Wrong number of args (3) passed to: core/iterate clojure.lang.AFn.throwArity (AFn.java:429)
iterate indeed takes only two arguments and there are three. I would have created a pull-request but I am not able to solve this simple problem, sorry.
Three next days?
(take 3 (iterate plus now (days 1)))
=> (#object[java.time.LocalDate "2015-09-28"]
#object[java.time.LocalDate "2015-09-29"]
#object[java.time.LocalDate "2015-09-30"])