dannywillems / RML

ML modules and functors as first-class citizens by unifying ML modules and ML records with path dependent types and subtyping.
37 stars 3 forks source link

Parametric polymorphism. #2

Open dannywillems opened 7 years ago

dannywillems commented 7 years ago

Which one?

int list --> list & { type t = int }

list & { type t = pair & { a = int & b = int } }

dannywillems commented 7 years ago

Related to #48