Open Roldak opened 9 years ago
And make classes able to inherit from multiple traits :
type Drawable = trait { def draw()->unit } type Surface = trait { def area()->int } type Box = class : Drawable, Surface { ... }
Edit: Comment not relevant anymore
And make classes able to inherit from multiple traits :