The common question of whether to use Hindley-Milner (HM) or Bidirectional (Bidir) typing for a new programming language is a false dichotomy. The real question is whether your language needs generics. Generics require unification, which is central to HM, but bidirectional typing is actually a superset of HM — it can

6m read time From thunderseethe.dev
Post cover image

Sort: