Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm a very big fan of the "object algebras" approach [0], which is essentially tagless final minus the automatic instance resolution you get with typeclasses. It works great even in fairly restrictive type systems like Java's.

[0]: https://www.cs.utexas.edu/~wcook/Drafts/2012/ecoop2012.pdf



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: