diff options
author | Rich Hickey <richhickey@gmail.com> | 2006-08-05 17:52:25 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2006-08-05 17:52:25 +0000 |
commit | 5572d24dae42bf686048a1add52437b4b3627ca0 (patch) | |
tree | 9b74398e86d184866187fdb2992dc3f69f15166e /src/cli/runtime/PersistentArrayMap.cs | |
parent | 73f8a4754a43dfce194989457b54aceca5595979 (diff) |
added IPersistentList, ASeq
Diffstat (limited to 'src/cli/runtime/PersistentArrayMap.cs')
-rw-r--r-- | src/cli/runtime/PersistentArrayMap.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/runtime/PersistentArrayMap.cs b/src/cli/runtime/PersistentArrayMap.cs index e758c547..f4e9e6ee 100644 --- a/src/cli/runtime/PersistentArrayMap.cs +++ b/src/cli/runtime/PersistentArrayMap.cs @@ -182,7 +182,7 @@ override public ISeq seq() { return null;
}
-internal class Seq : ISeq, IMapEntry{
+internal class Seq : ASeq, IMapEntry{
readonly Object[] array;
readonly int i;
@@ -199,11 +199,11 @@ internal class Seq : ISeq, IMapEntry{ return array[i+1];
}
- public Object first() {
+ override public Object first() {
return this;
}
- public ISeq rest() {
+ override public ISeq rest() {
if(i+2 < array.Length)
return new Seq(array, i + 2);
return null;
|