Into

Doug Lea dl at cs.oswego.edu
Wed Dec 26 07:08:17 PST 2012


On 12/25/12 18:43, Remi Forax wrote:
> On 12/25/2012 12:25 AM, Joe Bowbeer wrote:
>> I was going to say something about into() here but the topic has morphed to
>> sequential()?
>
> yes, true.
>
> I agree with Brian that into is not as great as it can be but I think the
> problem is the interface Destination that into uses.

Maybe we are focusing on different problems, but to me the main
one is a spec/expectations clash: For user-friendliness, we want
relevant properties of sources to be preserved in destinations.
But for generality, we want anything to be put into anything.
This shows up mainly in orderedness, but you can imagine users
"expecting" any other property as well (like sortedness wrt a
comparator). I think this is a no-win situation.

-Doug



More information about the lambda-libs-spec-observers mailing list