← Back to team overview

launchpad-dev team mailing list archive

Re: Generic Colletion?

 

On Tue, Aug 3, 2010 at 11:23 AM, Jonathan Lange <jml@xxxxxxxxxxxxx> wrote:
> On Tue, Aug 3, 2010 at 10:35 AM, Jeroen Vermeulen <jtv@xxxxxxxxxxxxx> wrote:
> ...
>>> I think it'll lead to mixture of
>>>
>>> models: you'll have a list of expressions, sometimes, with special
>>> cases, sometimes, and then some glue to put it all back together.  I
>>
>> Perhaps we shouldn't expose `select` and `refine` to anything outside the
>> concrete collection, so that the caller doesn't get the flexibility but the
>> implementation remains encapsulated and open to change.
>
> +1
>

Oops. Forgot. "select" is your equivalent of Landscape's "find". You
need to expose something like that, and I don't see a reason for
hiding select().

jml



References