1.3.0 permalink Arrow_down_16x16



  • (nnext x)
Same as (next (next x))

1 Example top

  • user=> (nnext '(1 2 3))
    user=> (nnext [])
    user=> (nnext ['(a b c) '(b a c) '(c b a) '(a c b)])
    ((c b a) (a c b)) 
    user=> (nnext {:a 1, :b 2, :c 3, :d 4})
    ([:c 3] [:d 4]) 
    user=> (nnext #{:a :b :c})
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:117 top

 ^{:doc "Same as (next (next x))"
   :arglists '([x])
   :added "1.0"
   :static true}
 nnext (fn ^:static nnext [x] (next (next x))))
Vars in clojure.core/nnext:
Used in 0 other vars

Comments top

No comments for nnext. Log in to add a comment.