mixin or trait in F#

Viewed 2872

Is there a way to achieve a mixin in Ruby or a trait in Scala in F#?

What i want is to basically copy one module into another so that it shares the other modules functionality but is closed for modification. Or, an OOP way of thinking about it, I want multiple inheritance except that the parent object can not be modified.

2 Answers
Related