Clone the core.cache git repository or download its source archive
Run mvn package
to generate a Jar file
Run mvn install
to install the Jar into your local Maven repository
To test that the build succeeded try:
mvn clojure:repl
This will launch a Clojure REPL. Try the following to exercise core.cache:
(use 'clojure.core.cache)
(def c (fifo-cache-factory 1 {:a 42}))
(-> c (assoc :b 1)
(assoc :z 108))
You should see the result {:z 108}
.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close