refactor(modules) Minor fixes.
h3rald h3rald@h3rald.com
Sun, 22 May 2016 19:05:05 +0200
2 files changed,
4 insertions(+),
2 deletions(-)
M
lib/lang.nim
→
lib/lang.nim
@@ -263,7 +263,7 @@ i.push fpath.qVal
else: i.error(errIncorrect, "Three quotations are required on the stack") - # TODO test (add new scope?) + # TODO test .symbol("while") do (i: In): let d = i.pop let b = i.pop@@ -277,7 +277,7 @@ check = i.pop
else: i.error(errIncorrect, "Two quotations are required on the stack") - # TODO test (add new scope?) + # TODO test .symbol("filter") do (i: In): let filter = i.pop let list = i.pop@@ -293,6 +293,7 @@ i.push res.newVal
else: i.error(errIncorrect, "Two quotations are required on the stack") + # TODO test .symbol("linrec") do (i: In): var r2 = i.pop var r1 = i.pop
M
tests/test.min
→
tests/test.min
@@ -1,3 +1,4 @@
+;; test module ( ("OK") ' .ok (" " print!) .padding