Files
rose-ash/lib/minikanren/tests
giles 221c7fef35
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 26s
mk: partitiono — split list by predicate
(partitiono pred l yes no) — yes is the elements of l where pred
succeeds; no is the rest. Conde dispatches on each element via the
predicate goal vs nafc-of-the-predicate, threading the head through
the matching output list.

Composes with intarith / membero / etc. for any predicate-shaped goal:
  (partitiono (fn (x) (lto-i x 5)) (list 1 7 2 8 3) yes no)
    yes -> (1 2 3); no -> (7 8)

5 new tests, 496/496 cumulative.
2026-05-08 12:18:25 +00:00
..
2026-05-08 12:16:40 +00:00
2026-05-08 11:57:12 +00:00
2026-05-08 10:41:02 +00:00
2026-05-08 11:34:28 +00:00