(nth (iterate inc 1) 14)
15
(map inc [10 20 30])
(11 21 31)
(nth (iterate inc 1) 10)
11
(class (next (iterate inc 0)))
clojure.lang.Iterate
(println "(inc danielcompton)")
nil
"(inc danielcompton)\n"
(println "(inc hypiRion)")
nil
"(inc hypiRion)\n"
((get {:frob inc} :frob) 0)
1
(print (map inc (range 5)))
nil
"(1 2 3 4 5)"
(take 3 (iterate inc 0))
(0 1 2)
(clojure.core/let [x 10] (inc x))
11
(get (iterate inc 1) 14)
nil
(take-while neg? (iterate inc -10))
(-10 -9 -8 -7 -6 -5 -4 -3 -2 -1)
(sequence (map inc) (range 10))
(1 2 3 4 5 6 7 8 9 10)
(map inc [1 2 2])
(2 3 3)
(def whole-numbers (iterate inc 0))
#'user/whole-numbers
(defn inc [x] (dec x))
#'user/inc
(nth (iterate inc 7) 4242)
4249
(mapcat #(identity [(inc %1) (inc %2)]) [1 2 3] [4 5 6])
(2 5 3 6 4 7)
(take 20 (map inc (range)))
(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)
(= (map identity ()) (map inc ()))
true
(and (seq (map inc ())) :wanted?)
nil
(if (even? 42) (inc 42))
43
(doall (map inc (range 50)))
(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50)
(update-in {:foo 1} [:foo] inc)
{:foo 2}
(let [clgv 10] (inc clgv))
11
(nth (iterate inc 1) 7)
8
(def *bar* (iterate inc 1))
#'user/*bar*
(first ((juxt inc println) 4))
5
"4\n"
((comp inc *) 5 4)
21
(let [<3 inc] (<3 1))
2
(map inc [1 5 9])
(2 6 10)
(println "(inc srid)")
nil
"(inc srid)\n"
(nth (iterate inc 5) 3)
8
(let [m 12] (inc m))
13
((fn [_] (inc _)) 4)
5
(let [x 1] (inc x))
2
(update-in {:abc 1} [:abc] inc)
{:abc 2}
(dorun (map inc (range 100)))
nil
(take 10 (iterate inc 1))
(1 2 3 4 5 6 7 8 9 10)
(read-string "(inc 1)")
(inc 1)
(defn f [v] (inc v))
#'user/f
(supers (class (map inc nil)))
#{clojure.lang.IHashEq clojure.lang.IMeta clojure.lang.IObj clojure.lang.IPending clojure.lang.IPersistentCollection clojure.lang.ISeq clojure.lang.Obj clojure.lang.Seqable clojure.lang.Sequential java.io.Serializable java.lang.Iterable java.lang.Object java.util.Collection java.util.List}
((comp char inc int) \space)
\!
(realized? (rest (iterate inc 1)))
false
(map inc [2 3 4])
(3 4 5)
(update-in {} [:x] (fnil inc 0))
{:x 1}
(macroexpand-1 '(doto x inc))
(clojure.core/let [G__3435966 x] (inc G__3435966) G__3435966)
((apply juxt [inc dec]) 1)
[2 0]
(for [i nil] (inc i))
()
(doall (map inc (range 10)))
(1 2 3 4 5 6 7 8 9 10)