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/PersistentTreeMap.cs | |
parent | 73f8a4754a43dfce194989457b54aceca5595979 (diff) |
added IPersistentList, ASeq
Diffstat (limited to 'src/cli/runtime/PersistentTreeMap.cs')
-rw-r--r-- | src/cli/runtime/PersistentTreeMap.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/runtime/PersistentTreeMap.cs b/src/cli/runtime/PersistentTreeMap.cs index f43555ee..cbf366c9 100644 --- a/src/cli/runtime/PersistentTreeMap.cs +++ b/src/cli/runtime/PersistentTreeMap.cs @@ -633,7 +633,7 @@ class RedBranchVal : RedBranch{ } } -public class Seq : ISeq{
+public class Seq : ASeq{
readonly ISeq stack;
readonly bool asc;
@@ -655,11 +655,11 @@ public class Seq : ISeq{ return stack;
}
- public Object first() {
+ override public Object first() {
return stack.first();
}
- public ISeq rest() {
+ override public ISeq rest() {
Node t = (Node)stack.first();
ISeq nextstack = push(asc ? t.right() : t.left(), stack.rest(), asc);
if(nextstack != null)
|