Minimal implementation of the Hindley–Milner type system's algorithm W in Odin
Find a file
2026-06-27 20:38:31 +03:00
src chore: cleanup some comments and procedure signatures 2026-06-27 20:38:31 +03:00
README.md first commit 2026-06-27 20:00:49 +03:00

This project implements a basic version of HindleyMilner (HM) type system's algorithm W, which performs type inference of variables based on their usage.

The programming language used here is a expression-based functional programming language, which is a paradigm that the HM algorithm works best with.

Basic syntax:

let add = (x, y) = x + y in
let add_one = (x) = add(x, 1) in
add_one(1)