diff options
Diffstat (limited to 'src/cli/runtime')
| -rw-r--r-- | src/cli/runtime/RT.cs | 4 | ||||
| -rw-r--r-- | src/cli/runtime/RestFn.cs | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/cli/runtime/RT.cs b/src/cli/runtime/RT.cs index 8f7141d9..431185d6 100644 --- a/src/cli/runtime/RT.cs +++ b/src/cli/runtime/RT.cs @@ -149,6 +149,10 @@ static public Object third(Object x) {
return first(rest(rest(x)));
}
+
+static public Object fourth(Object x) {
+ return first(rest(rest(rest(x))));
+}
static public ISeq rest(Object x)
{
diff --git a/src/cli/runtime/RestFn.cs b/src/cli/runtime/RestFn.cs index 80ae5d40..b83bf057 100644 --- a/src/cli/runtime/RestFn.cs +++ b/src/cli/runtime/RestFn.cs @@ -15,7 +15,7 @@ public abstract class RestFn : AFn { protected int reqArity;
-RestFn(int reqArity) {
+public RestFn(int reqArity) {
this.reqArity = reqArity;
}
|
