diff options
author | Rich Hickey <richhickey@gmail.com> | 2008-05-04 13:46:33 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2008-05-04 13:46:33 +0000 |
commit | bab144c230d93dbbdf3c23cf4622766aa6f0d776 (patch) | |
tree | fbd91e7224d99a31d24a635e0b38930c97507996 /src | |
parent | c06e4e53bf344a1687eb80ce12a8894cf4b2dbf2 (diff) |
made bean extend APersistentMap so implements IFn like other maps
Diffstat (limited to 'src')
-rw-r--r-- | src/proxy.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proxy.clj b/src/proxy.clj index eba3117e..53c7fe5f 100644 --- a/src/proxy.clj +++ b/src/proxy.clj @@ -277,7 +277,7 @@ (reduce (fn [m e] (assoc m (key e) ((val e)))) {} (seq pmap)))] - (proxy [clojure.lang.IPersistentMap] + (proxy [clojure.lang.APersistentMap] [] (containsKey [k] (contains? pmap k)) (entryAt [k] (when (contains? pmap k) (new clojure.lang.MapEntry k (v k)))) |