hg: lambda/lambda/jdk: Remove FlatMapper and relevant flatMap variants; migrate to flatMap(e -> stream)

Peter Levart peter.levart at gmail.com
Tue Apr 9 14:43:46 PDT 2013


On 04/09/2013 11:27 PM, Marc Petit-Huguenin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> 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
>> inadequate/inferior.
> 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.

Is there a proof that Stream API is Turing complete ?-)

Peter

>> Mike
>>
>> 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:
>>>>>>>> http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4a8fddc0b945
>>>>>>>>
>>>>>>>> Remove FlatMapper and relevant flatMap variants; migrate to
>>>>>>>> flatMap(e -> stream)
>>>>>>>>
> - -- 
> Marc Petit-Huguenin
> Email: marc at petit-huguenin.org
> Blog: http://blog.marc.petit-huguenin.org
> Profile: http://www.linkedin.com/in/petithug
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iQIcBAEBCAAGBQJRZIe5AAoJECnERZXWan7EJSYQAK3TgZAsMXZYuL8yfAm6f6rs
> PZ7QpyaABalHIjuX610/8pKhXDGqfRFbrvZJZCxQNGqKXp2DBTbkkcSIEqhu/lRI
> A+ep07jCcus8/Tzt9FE+YxoLobQ0igrssf+JoPMXYpRcF1ZQVAAwGV51kmW2SSI3
> 0qozkkW+RA6t7PNC6J0yiZ7ffQz0rrIXE2/88CenD0sq15p0XDKYexUNFsjfjG1Z
> e3gpg2u9FBkHt1YlczaSsDizurtVrMhWn7cplHBXzV0M2E51slOWg9yCw3pT371G
> hrdfxNFnH3pzlTTpcQmd2oREBg2dmFf8N/LdcaLjCqk1IMmJyUDE/M/xMPCQG1kA
> NwrmF75+0RHBukz2WzLJrEu8oIhpAg1ln0MyMMA67BbmhCj+if60nRxqlouGb8qZ
> 0Or6kv+jdPh6CEODGU2k8xR/3Ou39QxkObTt0M5pFIMQzLcERgfDsH0I5fwvQEd1
> hDvvhwwmqcAVEbCUU9jV2R4Q/Wg9q/qNCDwzBbobunjIxj5xE6fUf+/wX2LJ8C3T
> 9zcV6QAemcvpgc1BUMmNhEPxlXxyuMlF1T5YZgJsyPW7vlZO+cMAFYNLaQbpRzPY
> JNzQBvA4wRnCREN2V546PLnY+b8kJNejSkVUZMLF2zNheFnNQfg+jGgEZdg5njP6
> ahEFL5XmVn4F8NkwIBXo
> =imfo
> -----END PGP SIGNATURE-----
>



More information about the lambda-dev mailing list