diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-08-04 23:31:33 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-08-04 23:31:33 +0000 |
commit | cdd429f0d51b754ed0d2f4ab4cd9b90d320a3c0e (patch) | |
tree | 7f15ccd00531887f3abc56238fbdd23c585fd902 /src/cli/runtime/Tuple.cs | |
parent | ee19adc3e5bc9e5b525dac99e9281f3db30d3ece (diff) |
renaming
Diffstat (limited to 'src/cli/runtime/Tuple.cs')
-rw-r--r-- | src/cli/runtime/Tuple.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/runtime/Tuple.cs b/src/cli/runtime/Tuple.cs index 7c6c2f02..07560fbf 100644 --- a/src/cli/runtime/Tuple.cs +++ b/src/cli/runtime/Tuple.cs @@ -37,12 +37,12 @@ public int length() { return array.Length;
}
-public Object get(int i){
+public Object nth(int i){
return array[i];
}
-public IArray set(int i, Object val) {
+public IArray assocN(int i, Object val) {
Object[] newArray = (Object[])array.Clone();
newArray[i] = val;
return new Tuple(newArray);
@@ -59,7 +59,7 @@ override public bool Equals(Object key){ for(int i = 0; i < array.Length; i++)
{
- if(!equalKey(array[i],a.get(i)))
+ if(!equalKey(array[i],a.nth(i)))
return false;
}
|