diff options
Diffstat (limited to 'src/cli/runtime/ArraySeq.cs')
-rw-r--r-- | src/cli/runtime/ArraySeq.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli/runtime/ArraySeq.cs b/src/cli/runtime/ArraySeq.cs index 144d872f..4503792e 100644 --- a/src/cli/runtime/ArraySeq.cs +++ b/src/cli/runtime/ArraySeq.cs @@ -50,6 +50,10 @@ override public ISeq rest() { // return _rest;
}
+public override int count() {
+ return array.Length - i;
+}
+
public int index(){
return i;
}
|