Files
rose-ash/plans
giles cabf5dc9c3
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 30s
ocaml: phase 5 HM let-mut / let-rec-mut (+3 tests, 442 total)
ocaml-infer-let-mut: each rhs inferred in parent env, generalized
sequentially before adding to body env.

ocaml-infer-let-rec-mut: pre-bind all names with fresh tvs; infer
each rhs against the joint env, unify each with its tv, then
generalize all and infer body.

Mutual recursion now type-checks:
  let rec even n = if n = 0 then true else odd (n - 1)
  and odd n = if n = 0 then false else even (n - 1)
  in even   : Int -> Bool
2026-05-08 17:28:27 +00:00
..