datalog: findall aggregate (159/159)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 53s

(findall L V Goal) — bind L to the distinct V values for which Goal
holds, or the empty list when none. One-line addition to
dl-do-aggregate that returns the unreduced list. Tests cover EDB,
derived relation, and empty cases.

Useful for "give me all the X such that ..." queries without
scalar reduction.
This commit is contained in:
2026-05-08 09:02:43 +00:00
parent 5a1dc4392f
commit 55286cc5bc
5 changed files with 46 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
# datalog scoreboard
**156 / 156 passing** (0 failure(s)).
**159 / 159 passing** (0 failure(s)).
| Suite | Passed | Total | Status |
|-------|--------|-------|--------|
@@ -11,6 +11,6 @@
| builtins | 19 | 19 | ok |
| semi_naive | 8 | 8 | ok |
| negation | 10 | 10 | ok |
| aggregates | 10 | 10 | ok |
| aggregates | 13 | 13 | ok |
| api | 9 | 9 | ok |
| demo | 10 | 10 | ok |