mk: tako + dropo — Peano-indexed prefix and suffix
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 24s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 24s
(tako n l prefix) — prefix is the first n elements of l. (dropo n l suffix) — suffix is l after dropping the first n. Both use a Peano natural for the count. Round-trip holds: (tako n l) ⊕ (dropo n l) = l (verified by an end-to-end test) 9 new tests, 368/368 cumulative.
This commit is contained in:
@@ -173,6 +173,9 @@ _(none yet)_
|
||||
|
||||
_Newest first._
|
||||
|
||||
- **2026-05-08** — **tako + dropo (Peano-indexed prefix/suffix)**: takes / drops
|
||||
the first n elements via a Peano-encoded count. Round-trip
|
||||
`(tako n l) ⊕ (dropo n l) = l` holds. 9 new tests, 368/368 cumulative.
|
||||
- **2026-05-08** — **eveno / oddo Peano predicates**: classic miniKanren parity
|
||||
relations. eveno: 0 or successor-of-successor of even; oddo: 1 or
|
||||
successor-of-successor of odd. Both run forward (test) and backward
|
||||
|
||||
Reference in New Issue
Block a user