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/EnumeratorSeq.cs | |
parent | 73f8a4754a43dfce194989457b54aceca5595979 (diff) |
added IPersistentList, ASeq
Diffstat (limited to 'src/cli/runtime/EnumeratorSeq.cs')
-rw-r--r-- | src/cli/runtime/EnumeratorSeq.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/runtime/EnumeratorSeq.cs b/src/cli/runtime/EnumeratorSeq.cs index af2bfab0..ef844864 100644 --- a/src/cli/runtime/EnumeratorSeq.cs +++ b/src/cli/runtime/EnumeratorSeq.cs @@ -13,7 +13,7 @@ using System.Collections; namespace clojure.lang
{
-public class EnumeratorSeq : ISeq{
+public class EnumeratorSeq : ASeq{
IEnumerator e;
volatile ISeq _rest;
@@ -28,11 +28,11 @@ EnumeratorSeq(IEnumerator e){ this._rest = this;
}
-public Object first() {
+override public Object first() {
return e.Current;
}
-public ISeq rest() {
+override public ISeq rest() {
if(_rest == this)
{
lock(this){
|