Meta-call predicates: forall/2, maplist/2, maplist/3, include/3, exclude/3
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled

Adds pl-apply-goal helper for safe call/N goal construction (atom or compound),
five solver helpers (pl-solve-forall!, pl-solve-maplist2!, pl-solve-maplist3!,
pl-solve-include!, pl-solve-exclude!), five cond clauses in pl-solve!, and a
new test suite (15/15 passing). Total conformance: 390/390.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-25 11:59:35 +00:00
parent 07a22257f6
commit 8f0af85d01
5 changed files with 378 additions and 37 deletions

View File

@@ -1,7 +1,7 @@
# Prolog scoreboard
**375 / 375 passing** (0 failure(s)).
Generated 2026-04-25T11:37:33+00:00.
**390 / 390 passing** (0 failure(s)).
Generated 2026-04-25T11:59:16+00:00.
| Suite | Passed | Total | Status |
|-------|--------|-------|--------|
@@ -23,6 +23,7 @@ Generated 2026-04-25T11:37:33+00:00.
| iso_predicates | 29 | 29 | ok |
| meta_predicates | 25 | 25 | ok |
| list_predicates | 33 | 33 | ok |
| meta_call | 15 | 15 | ok |
Run `bash lib/prolog/conformance.sh` to refresh. Override the binary
with `SX_SERVER=path/to/sx_server.exe bash …`.