From c27400ca83935fc384980a9f03cda9b5914220ef Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 27 May 2015 23:40:30 -0400 Subject: [PATCH] README.traits "Trait Extending" section update to reflect class extension support --- README.traits | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.traits b/README.traits index 4c959f6..38813aa 100644 --- a/README.traits +++ b/README.traits @@ -12,12 +12,11 @@ complete. * TODO Trait Extending - Currently, the only way for a trait to override methods of a class - it is being mixed into is to implement a common interface. Traits - should alternatively be able to "extend" classes, which will have - effects similar to Scala in that the trait can only be mixed into - that class. Further, traits should be able to extend and mix in - other traits (though such should be done conservatively). + Traits are able to "extend" classes, thereby declaring interface + compatability; this is a useful alternative to interfaces when a trait is + designed to augment a specific type. This convenience should be extended + to traits: a trait should be able to "extend" another trait in the same + manner that it may extend a class. * TODO Documentation Due to the trait implementation taking longer than expected to