Liking cljdoc? Tell your friends :D

pinkgorilla.explore.db


addclj

(add item)
source

add-listclj

(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]}}
sourceraw docstring

allclj

(all)
source

clearclj

(clear)
source

gistsclj

(gists)
source

indexedclj

(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])
sourceraw docstring

json-fnclj

source

load-dbclj

(load-db fn)
source

positionsclj

(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.
sourceraw docstring

(print-status db)
source

reposclj

(repos)
source

save-dbclj

(save-db)
source

update-item-vectorclj

(update-item-vector item items)
source

usernamesclj

(usernames)
source

usersclj

source

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

× close