teikalang / teika

MIT License
327 stars 7 forks source link

teika: simple holes for unification #228

Closed EduardoRFS closed 4 days ago

EduardoRFS commented 4 days ago

Goals

Reduce type checking complexity and in the future better inference.

Context

Unification may be painful to implement but it is very desirable, additionally it allows to simplify the typechecker by fusing check and infer. Currently this doesn't implement higher-order unification as that requires a bit more machinery.

Related