hg: lambda/lambda/jdk: Remove FlatMapper and relevant flatMap variants; migrate to flatMap(e -> stream)
marc at petit-huguenin.org
Tue Apr 9 14:27:22 PDT 2013
-----BEGIN PGP SIGNED MESSAGE-----
On 04/09/2013 01:59 PM, Mike Duigou wrote:
> FlatMapper alternatives are available. At this point the API is still
> undergoing refinement. This and many other things are still likely to
> change before the Java 8 streams API is complete. Our focus is on making
> the best long term decisions for Java and not the short term convenience of
> early adopters (think of yourselves as experimental volunteers).
> If you absolutely can't live without the APIs mentioned you need to
> explain why they are essential and why the alternatives are
The minimum I can't absolutely live without is a Turing machine, so don't mind
me. It's just that is it the 3rd time that something I really like is removed
from the stream API.
> On Apr 9 2013, at 13:35 , Marc Petit-Huguenin wrote:
> On 04/09/2013 01:28 PM, Brian Goetz wrote:
>>>> As you might have gathered from the EG discussions, flatMap has not
>>>> gone away; we've simply removed one of the variants of it.
> I was talking about FlatMapper.
>>>> On 4/9/2013 4:06 PM, Marc Petit-Huguenin wrote: After MapStream and
>>>> access to the pipeline, another useful API disappears.
>>>> On 04/09/2013 12:36 PM, brian.goetz at oracle.com wrote:
>>>>>>> Changeset: 4a8fddc0b945 Author: briangoetz Date: 2013-04-09
>>>>>>> 15:36 -0400 URL:
>>>>>>> Remove FlatMapper and relevant flatMap variants; migrate to
>>>>>>> flatMap(e -> stream)
Email: marc at petit-huguenin.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the lambda-dev