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/PersistentArray.cs | |
parent | 73f8a4754a43dfce194989457b54aceca5595979 (diff) |
added IPersistentList, ASeq
Diffstat (limited to 'src/cli/runtime/PersistentArray.cs')
-rw-r--r-- | src/cli/runtime/PersistentArray.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/runtime/PersistentArray.cs b/src/cli/runtime/PersistentArray.cs index 8177a4b4..3c766661 100644 --- a/src/cli/runtime/PersistentArray.cs +++ b/src/cli/runtime/PersistentArray.cs @@ -135,7 +135,7 @@ internal class EntryLink : Entry }
}
-internal class Seq : IndexedSeq{
+internal class Seq : ASeq, IndexedSeq{
readonly PersistentArray p;
readonly int i;
@@ -144,11 +144,11 @@ internal class Seq : IndexedSeq{ this.i = i;
}
- public Object first() {
+ override public Object first() {
return p.nth(i);
}
- public ISeq rest() {
+ override public ISeq rest() {
if(i+1 < p.length())
return new Seq(p, i + 1);
return null;
|