haskell: Phase 12 conformance — uniquewords.hs (4/4) + setops.hs (8/8), Phase 12 complete
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 36s
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 36s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -213,7 +213,7 @@ No OCaml changes are needed. The view type is fully representable as an SX dict.
|
||||
- [x] Unit tests in `lib/haskell/tests/set.sx` (17/17, plan ≥15: empty, insert,
|
||||
member hit/miss, delete, fromList deduplication, union, intersection,
|
||||
difference, isSubsetOf, plus 4 end-to-end via `import qualified Data.Set`).
|
||||
- [ ] Conformance programs:
|
||||
- [x] Conformance programs:
|
||||
- `uniquewords.hs` — unique words in a string using `Data.Set`.
|
||||
- `setops.hs` — set union/intersection/difference on integer sets;
|
||||
exercises all three combining operations.
|
||||
@@ -307,6 +307,14 @@ No OCaml changes are needed. The view type is fully representable as an SX dict.
|
||||
|
||||
_Newest first._
|
||||
|
||||
**2026-05-07** — Phase 12 conformance: uniquewords.hs (4/4) + setops.hs (8/8) → Phase 12 complete:
|
||||
- `program-uniquewords.sx`: `foldl Set.insert` over a word list, then check
|
||||
`Set.size`/`member`. 4/4.
|
||||
- `program-setops.sx`: full set algebra — union/intersection/difference/
|
||||
isSubsetOf with three sets s1, s2, s3 chosen so each operation has both a
|
||||
positive and negative test. 8/8.
|
||||
- Both added to `PROGRAMS` in `conformance.sh`. Phase 12 fully complete.
|
||||
|
||||
**2026-05-07** — Phase 12 unit tests `tests/set.sx` (17/17):
|
||||
- 13 SX-level direct calls + 4 end-to-end via `import qualified Data.Set`.
|
||||
Covers all the API + dedupe behavior. Suite is 17/17.
|
||||
|
||||
Reference in New Issue
Block a user