summaryrefslogtreecommitdiff
path: root/src/cli/runtime/PersistentArrayMap.cs
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2006-08-05 15:31:36 +0000
committerRich Hickey <richhickey@gmail.com>2006-08-05 15:31:36 +0000
commitda11eb9d0dd587e532470965b3c655b741d1fa5c (patch)
tree12ca5ed1b29b2f29caebc3cb3fba09d72af23bd8 /src/cli/runtime/PersistentArrayMap.cs
parentdb58898d1d44d8025208bb5f0b2c4a493a5cdb43 (diff)
changed return type of assoc to Associative
Diffstat (limited to 'src/cli/runtime/PersistentArrayMap.cs')
-rw-r--r--src/cli/runtime/PersistentArrayMap.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/runtime/PersistentArrayMap.cs b/src/cli/runtime/PersistentArrayMap.cs
index 4e27ad16..6c848685 100644
--- a/src/cli/runtime/PersistentArrayMap.cs
+++ b/src/cli/runtime/PersistentArrayMap.cs
@@ -98,7 +98,7 @@ public IPersistentMap assocEx(Object key, Object val) {
return create(newArray);
}
-public IPersistentMap assoc(Object key, Object val) {
+public Associative assoc(Object key, Object val) {
int i = indexOf(key);
Object[] newArray;
if(i >= 0) //already have key, same-sized replacement