News for hackers. Stuff that matters.
Re:Smashing Swift by eonwe on Monday June 16, 2014 @08:54AM (#7898745)
You can do that partially. Because of the sub-classing and covariant return-types, I think you cannot prevent a CustomCollection from returning a CustomList. The definition would be:

  public interface Mappable<T extends Mappable<T>> {
      T map();
  }

There are no comments on this comment yet.