tomprimozic/type-systems resource
Implementations of various type systems in OCaml. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4599
- days_rel: n/a
- days_push: 4020
- n_releases_24m: 0
Adoption not part of the score
1603 stars · 75 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of minimal, well-commented OCaml implementations of various advanced type systems, including Algorithm W, extensible rows, first-class polymorphism, gradual typing, and refined types. It is designed as an educational resource for learning about type inference and experimenting with type system design.
Use cases
- learn how Hindley-Milner type inference works
- study implementations of Algorithm W in OCaml
- understand extensible records with scoped labels
- explore type inference for higher-rank polymorphism
- see how gradual typing can be implemented
- experiment with extending a type system
- prepare for programming languages coursework or research
When to choose
- you want clear, minimal reference implementations of type inference algorithms
- you are learning programming language theory and want runnable code
- you want a starting point to build or extend your own type system
- you need to understand papers like Leijen's extensible rows or HMF concretely
When to avoid
- you need a production-ready type checker or compiler
- you want a maintained library with API stability and releases
- you need type system implementations in a language other than OCaml
- you want comprehensive documentation or tutorials beyond the code
Facets
learning-resource · maturity maintenance
type-system interpreter programming-language programming-languages education tutorials cross-platform ocaml type-inference hindley-milner algorithm-w gradual-typing extensible-records polymorphism dependent-types academic type-systems algorithms
1 source
- readme: https://github.com/tomprimozic/type-systems · fetched 2026-08-28 · 4e8ee2242caa
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tomprimozic/type-systems | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="tomprimozic/type-systems")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem