summaryrefslogtreecommitdiff
path: root/pit/examples/test10.pit
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-10-23 20:47:43 -0400
committerLLLL Colonq <llll@colonq>2026-10-23 20:48:45 -0400
commitdb58f43065c3b397754bb9efcb4a7376b2538131 (patch)
tree81452d262163237e82821e0eb5e518e581fa9276 /pit/examples/test10.pit
parent62ab8e0b42a57bd794941f030b4c3140d6f7c744 (diff)
pit: Add tests, fix binding bugHEADmaster
Diffstat (limited to 'pit/examples/test10.pit')
-rw-r--r--pit/examples/test10.pit5
1 files changed, 5 insertions, 0 deletions
diff --git a/pit/examples/test10.pit b/pit/examples/test10.pit
new file mode 100644
index 0000000..0eea605
--- /dev/null
+++ b/pit/examples/test10.pit
@@ -0,0 +1,5 @@
+(list/find
+ (lambda (y)
+ (and (eq? (list/len y) 3)
+ (list/all? (lambda (x) (equal? x 2)) y)))
+ '((1 2 3) (2 2 2 2) (2 3 4) (2 2 2))) \ No newline at end of file