giles
6bc3c14dac
Test, Build, and Deploy / test-build-deploy (push) Failing after 44s
mk: btree-walko — binary-tree walker via matche
...
Demo of matche dispatch + conde + recursion for tree traversal:
(matche tree
((:leaf x) (== v x))
((:node l r) (conde ((btree-walko l v)) ((btree-walko r v)))))
Test tree ((1 2) (3 (4 5))) yields all 5 leaves under run*. Also tests
membership (run 1) and absence.
4 new tests, 441/441 cumulative.
2026-05-08 12:02:13 +00:00
..
2026-05-08 12:02:13 +00:00
2026-05-08 07:50:03 +00:00
2026-05-07 21:51:52 +00:00
2026-05-07 20:24:42 +00:00
2026-05-07 20:01:10 +00:00
2026-05-08 11:19:29 +00:00
2026-05-08 11:27:49 +00:00
2026-05-08 07:56:58 +00:00
2026-05-08 10:46:13 +00:00
2026-05-07 20:24:42 +00:00
2026-05-07 20:24:42 +00:00
2026-05-08 11:15:24 +00:00
2026-05-08 11:49:47 +00:00
2026-05-08 11:54:24 +00:00
2026-05-08 11:25:12 +00:00
2026-05-08 11:00:12 +00:00
2026-05-08 10:43:45 +00:00
2026-05-08 11:09:48 +00:00
2026-05-08 11:11:26 +00:00
2026-05-08 07:41:51 +00:00
2026-05-07 23:29:08 +00:00
2026-05-08 11:36:14 +00:00
2026-05-08 11:57:12 +00:00
2026-05-08 11:38:29 +00:00
2026-05-08 11:30:02 +00:00
2026-05-07 21:54:16 +00:00
2026-05-08 11:13:22 +00:00
2026-05-08 11:40:28 +00:00
2026-05-07 23:27:16 +00:00
2026-05-08 11:07:33 +00:00
2026-05-08 10:41:02 +00:00
2026-05-08 11:22:12 +00:00
2026-05-08 07:22:41 +00:00
2026-05-08 11:34:28 +00:00
2026-05-08 11:51:51 +00:00
2026-05-07 20:03:42 +00:00
2026-05-08 11:47:27 +00:00
2026-05-08 11:45:31 +00:00
2026-05-08 11:59:41 +00:00
2026-05-08 11:32:33 +00:00
2026-05-08 11:17:27 +00:00
2026-05-07 19:45:47 +00:00