Hacker News new | past | comments | ask | show | jobs | submit login

Tagless-final as a pattern works also fine in OO languages. It's called "object algebras" there.

https://oleksandrmanzyuk.wordpress.com/2014/06/18/from-objec...

In general it's one of the most elegant solutions to the expression problem I've seen so far.




What a brilliant article! This approach deserves be more widely known I think, thanks for the link.




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

Search: