Hacker News new | ask | show | jobs
by mookid11 3565 days ago
> Yes, but hardly anybody uses that part of the language. We tend to stick with modules and variations over them.

You can have inheritance via polymorphic variants: see Garrigue's `Code reuse through polymorphic variants`.

1 comments

I have never used polymorphic variants… Too lazy to learn.