Files
rose-ash/lib
giles 99066430fd
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 52s
mk: lasto + init-o — last and not-last list relations
lasto: x is the final element of l. Direct base case (l = (x)) plus
recurse-on-cdr.

init-o: init is l without its last element. Base case for singleton:
(== init ()). Otherwise recurse, threading the head through to the
init result via conso.

Together with appendo, the round-trip init append (list last) = l
holds, which is exercised by an end-to-end test.

8 new tests, 344/344 cumulative.
2026-05-08 11:25:12 +00:00
..