haskell: Algorithm W type inference + 32 tests (434/434)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 43s

Full HM inference in lib/haskell/infer.sx: unification, substitution,
occurs check, instantiation, generalisation, let-polymorphism.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-05 20:26:44 +00:00
parent 5a402a02be
commit 8f3b0d9301
4 changed files with 570 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ for FILE in "${FILES[@]}"; do
(load "lib/haskell/runtime.sx")
(load "lib/haskell/match.sx")
(load "lib/haskell/eval.sx")
(load "lib/haskell/infer.sx")
(load "lib/haskell/testlib.sx")
(epoch 2)
(load "$FILE")
@@ -94,6 +95,7 @@ EPOCHS
(load "lib/haskell/runtime.sx")
(load "lib/haskell/match.sx")
(load "lib/haskell/eval.sx")
(load "lib/haskell/infer.sx")
(load "lib/haskell/testlib.sx")
(epoch 2)
(load "$FILE")