Skip to content

Instantly share code, notes, and snippets.

@chewbranca
Created June 16, 2012 03:37
Show Gist options
  • Save chewbranca/2939819 to your computer and use it in GitHub Desktop.
Save chewbranca/2939819 to your computer and use it in GitHub Desktop.
clojure/core.cache compile error
1 compiler notes:
Unknown location:
error: clojure.lang.ArityException: Wrong number of args (3) passed to: cache$lru-cache-factory
core.clj:4:1:
error: clojure.lang.ArityException: Wrong number of args (3) passed to: cache$lru-cache-factory, compiling:(core.clj:4)
Compilation failed.
(ns queuefun.core
(:require [clojure.core.cache :as cache]))
(def C (cache/lru-cache-factory {} :threshold 2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment