broom-lang / broom

A programming language with first-class modules and algebraic effects.
https://broom.readthedocs.io
BSD 3-Clause "New" or "Revised" License
10 stars 1 forks source link

Type erasure #56

Open nilern opened 4 years ago

nilern commented 4 years ago

Lower parametric polymorphism away since we can't monomorphise in the general case. Will need to add some pointer tagging and boxing to tell the GC which formerly parametrically polymorphic values are pointers at runtime.