The closest to an answer I can find, a reply by Brian Goetz on lambda-dev:

Don't know the answer to any of these yet!  But watch the repo as the
story plays out.

On Jul 27, 2012, at 1:15 AM, François Sarradin wrote:

> Hi,
>
> I have seen in one of the changesets that an Optional type is supposed
> to be available in Java 8. I have some questions about:
>
> * will the current implementation change later?
> * is it suppose to support a kind of flatMap operation?
> * will it be considered as an Iterable?

On Tue, Oct 23, 2012 at 9:22 PM, clay <[email protected]> wrote:
> Has anyone seen java.util.Optional in the new Lambda builds?
>
> Why is there no flatMap?
>
> Why does it not support iteration (can't do a for loop over an Optional)?
>
> Why doesn't it have Some/None subclasses?
>
> Why does Scala and Functional Java get this right yet Guava and now the core
> Java guys completely ruin it?
>
> Why doesn't Java 8 have persistent immutable collections?
>
>
> Some of the JDK developers have real talent, but this is completely amateur.
>
> I really hope they can fix this before it is set in stone. Tons of decent
> functional programmers can write a complete Option implementation easily as
> a fun exercise. It boggles my mind that they don't have the decent talent
> working on something so important.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Java Posse" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/javaposse/-/9H396Nyijw4J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to