Liking cljdoc? Tell your friends :D

hara.data.seq


positionsclj

(positions pred coll)

find positions of elements matching the predicate

(positions even? [5 5 4 4 3 3 2 2]) => [2 3 6 7]

find positions of elements matching the predicate

(positions even? [5 5 4 4 3 3 2 2])
=> [2 3 6 7]
raw docstring

remove-indexclj

(remove-index coll i)

removes element at the specified index

(remove-index [:a :b :c :d] 2) => [:a :b :d]

removes element at the specified index

(remove-index [:a :b :c :d] 2)
=> [:a :b :d]
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close