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/ArraySeq.cs | |
parent | 73f8a4754a43dfce194989457b54aceca5595979 (diff) |
added IPersistentList, ASeq
Diffstat (limited to 'src/cli/runtime/ArraySeq.cs')
-rw-r--r-- | src/cli/runtime/ArraySeq.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli/runtime/ArraySeq.cs b/src/cli/runtime/ArraySeq.cs index bdfbc145..c2c56da7 100644 --- a/src/cli/runtime/ArraySeq.cs +++ b/src/cli/runtime/ArraySeq.cs @@ -15,7 +15,7 @@ using System; namespace clojure.lang
{ -public class ArraySeq : IndexedSeq{
+public class ArraySeq : ASeq, IndexedSeq{
readonly Object[] array;
readonly int i;
ISeq _rest;
@@ -32,11 +32,11 @@ ArraySeq(Object[] array, int i){ this._rest = this;
}
-public Object first() {
+override public Object first() {
return array[i];
}
-public ISeq rest() {
+override public ISeq rest() {
if(_rest == this)
{
if(i+1 < array.Length)
|