(add-list items)adds a list of items [{:user :gists []}] to the db (map of users) {:user-name {:user user-name :gists[gist-id]}}
adds a list of items [{:user :gists []}] to the
db (map of users) {:user-name {:user user-name :gists[gist-id]}}(indexed s)Returns a lazy sequence of [index, item] pairs, where items come from 's' and indexes count up from zero.
(indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d])
Returns a lazy sequence of [index, item] pairs, where items come from 's' and indexes count up from zero. (indexed '(a b c d)) => ([0 a] [1 b] [2 c] [3 d])
(positions pred coll)Returns a lazy sequence containing the positions at which pred is true for items in coll.
Returns a lazy sequence containing the positions at which pred is true for items in coll.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |