[CMEMOIZE-6] assert on ttl fn value makes any callable other than a pure clojure.lang.Fn be rejected Created: 27/Jun/13 Updated: 28/Jun/13 Resolved: 28/Jun/13
ttl memoize used to accept multimethods for instance, this is no longer the case since the latest version where an assert? was introduced that checks using fn?
The patch attached allows any of the following: clojure.lang.IFn, clojure.lang.AFn, java.lang.Runnable, java.util.concurrent.Callable.
(I am a registered contributor listed under "Maximilien Penet (mpenet)")
|Comment by Fogus [ 28/Jun/13 7:17 AM ]|
This is fixed on master. I will push a point-release out to Maven Central later today.
|Comment by Fogus [ 28/Jun/13 7:31 AM ]|
Applied to master. A new release will come soon.