summaryrefslogtreecommitdiff
path: root/src/cli/runtime/LispReader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/runtime/LispReader.cs')
-rw-r--r--src/cli/runtime/LispReader.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cli/runtime/LispReader.cs b/src/cli/runtime/LispReader.cs
index 36c47d3a..35b3b0b8 100644
--- a/src/cli/runtime/LispReader.cs
+++ b/src/cli/runtime/LispReader.cs
@@ -292,10 +292,7 @@ public static ISeq readDelimitedList(char delim, LineNumberingTextReader r, bool
}
}
- ISeq ret = null;
- for(int i=a.Count-1;i>=0;--i)
- ret = RT.cons(a[i], ret);
- return ret;
+ return RT.seq(a);
}
/*