user=> (fnext ['(a b c) '(b a c)])
(b a c)
user=> (fnext '([a b c] [b a c]))
[b a c]
user=> (fnext {:a 1 :b 2 :c 3})
[:b 2]
user=> (fnext [])
nil
user=> (fnext [1])
nil
(def
^{:doc "Same as (first (next x))"
:arglists '([x])
:added "1.0"
:static true}
fnext (fn ^:static fnext [x] (first (next x))))
Comments top
No comments for fnext. Log in to add a comment.