Liking cljdoc? Tell your friends :D

deercreeklabs.stockroom


CacheItemclj/s

source

Functionclj/s

source

getclj/s

(get stockroom k)

Inputs: [stockroom :- Stockroom k :- Key] Returns: (s/maybe Value)

Inputs: [stockroom :- Stockroom k :- Key]
Returns: (s/maybe Value)
sourceraw docstring

get-cache-itemclj/s

source

get-cur-num-keysclj/s

(get-cur-num-keys stockroom)

Inputs: [stockroom :- Stockroom] Returns: s/Int

Inputs: [stockroom :- Stockroom]
Returns: s/Int
sourceraw docstring

ICacheclj/s≠protocol

set-num-keys!-clj/s

(set-num-keys!- this num-keys)

get-cur-num-keys-clj/s

(get-cur-num-keys- this)

keys-clj/s

(keys- this)

get-clj/s

(get- this k)

put-clj/s

(put- this k v)
source

Indexclj/s

source

Keyclj/s

source

keysclj/s

(keys stockroom)

Inputs: [stockroom :- Stockroom] Returns: [Key]

Inputs: [stockroom :- Stockroom]
Returns: [Key]
sourceraw docstring

memoize-srclj/s≠

clj
(memoize-sr f)
(memoize-sr f num-keys)
cljs
(memoize-sr G__3359)
(memoize-sr G__3363 G__3364)

Inputs: ([f :- Function] [f :- Function num-keys :- s/Int]) Returns: Function

Inputs: ([f :- Function] [f :- Function num-keys :- s/Int])
Returns: Function
sourceraw docstring

putclj/s

(put stockroom k v)

Inputs: [stockroom :- Stockroom k :- Key v :- Value] Returns: (s/eq nil)

Inputs: [stockroom :- Stockroom k :- Key v :- Value]
Returns: (s/eq nil)
sourceraw docstring

put*clj/s

(put* num-keys k v state)
source

set-num-keys!clj/s

(set-num-keys! stockroom num-keys)

Inputs: [stockroom :- Stockroom num-keys :- s/Int] Returns: (s/eq nil)

Inputs: [stockroom :- Stockroom num-keys :- s/Int]
Returns: (s/eq nil)
sourceraw docstring

shrink-cacheclj/s

(shrink-cache old-state num-keys)
source

Stateclj/s

source

stockroomclj/s

(stockroom num-keys)

Inputs: [num-keys :- s/Int] Returns: Stockroom

Inputs: [num-keys :- s/Int]
Returns: Stockroom
sourceraw docstring

Stockroomcljs

source

update-referenced?clj/s

(update-referenced? k state)
source

Valueclj/s

source

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

× close