Skip to content

Commit

Permalink
Adding evict to protocol. Impl TBD
Browse files Browse the repository at this point in the history
  • Loading branch information
fogus committed Nov 26, 2011
1 parent 20c2fb2 commit 736ed99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/clojure/clojure/core/cache.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
(miss [cache e ret]
"Is meant to be called if the cache is determined to **not** contain a
value associated with `e`")
(evict [cache e]
"Removes an entry from the cache")
(seed [cache base]
"Is used to signal that the cache should be created with a seed.
The contract is that said cache should return an instance of its
Expand Down

0 comments on commit 736ed99

Please sign in to comment.