Set predicates: foldl/4, list_to_set/2, intersection/3, subtract/3, union/3
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Has been cancelled

Adds 5 new built-in predicates to the Prolog runtime with 15 tests.
390 → 405 tests across 20 suites (all passing).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-25 12:22:03 +00:00
parent 73080bb7de
commit 5a83f4ef51
5 changed files with 325 additions and 6 deletions

View File

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