aboutsummaryrefslogtreecommitdiffstats
path: root/csc/list-test.csc
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2022-06-28 15:58:36 -0700
committerRose Hogenson <rhogenson@posteo.net>2022-06-28 15:58:36 -0700
commitfed28363fb60266c030a0f6b30d5a9d697774ee0 (patch)
tree50ed1ec9663371220559e4d4bfc7b1cd1bcb7117 /csc/list-test.csc
parent52da9c556a170ed8e5f811c3acd56088baf94c80 (diff)
downloadchromatopelma-fed28363fb60266c030a0f6b30d5a9d697774ee0.tar.zst
Improve CPS.
Goodbye soup. Thanks to "Compiling with Continuations" by Appel.
Diffstat (limited to 'csc/list-test.csc')
-rw-r--r--csc/list-test.csc6
1 files changed, 6 insertions, 0 deletions
diff --git a/csc/list-test.csc b/csc/list-test.csc
index faa90b6..e16feee 100644
--- a/csc/list-test.csc
+++ b/csc/list-test.csc
@@ -113,3 +113,9 @@
(assert-equal
#f
(all (lambda (x) (= 0 (remainder x 2))) '(2 13 8))))
+
+
+(test all-equal
+ (assert-equal
+ #t
+ (all = '(1 2 3) '(1 2 3))))