« Return to Thread: Towards a revised collection API

Re: Towards a revised collection API

by David MacIver :: Rate this Message:

Reply to Author | View in Thread

On Fri, Apr 18, 2008 at 12:39 PM, Christos KK Loverdos
<loverdos@...> wrote:
> Have you seen the paper "Generics of a Higher Kind"?
>
>  http://lambda-the-ultimate.org/node/2579

Yes, the Buildable trait is based on that. Obviously. :-) The more
interesting part of this is the dual of that, the Enumerable trait.

>  They introduce a Buildable trait that does the job. Moreover, Martin
>  has just said in scala-debate that they are redesigning the
>  collections in order to use the ideas in the paper, and they do so in
>  a backwards-compatible way. It will take them a couple of months
>  before they go public.

Which is all the more reason to discuss this now rather than in a few
months once the decision has been finalised...

 « Return to Thread: Towards a revised collection API