Files
rose-ash/plans
giles 4bca2cacff
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 36s
ocaml: phase 5 parse ctor arg types in user type-defs (+3 tests, 409 total)
ocaml-hm-parse-type-src recognises primitive type names (int/bool/
string/float/unit), tyvars 'a, and simple parametric T list / T option.
Replaces the previous int-by-default placeholder in
ocaml-hm-register-type-def!.

So 'type tag = TStr of string | TInt of int' correctly registers
TStr : string -> tag and TInt : int -> tag. Pattern-match on tag
gives proper field types in the body. Multi-arg / function types
still fall back to a fresh tv.
2026-05-08 15:43:16 +00:00
..