flatMap ambiguity (original) (raw)
Maurizio Cimadamore maurizio.cimadamore at oracle.com
Tue Feb 26 14:54:20 PST 2013
- Previous message: flatMap ambiguity
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 26/02/13 21:47, Dan Smith wrote:
Note also that an invocation like the following will always produce a Stream:
stream.flatMap((x, sink) -> sink.accept("x")).filter(...).... Mostly unrelated: the current implementation will actually give up in such cases, issuing a 'cyclic inference' error message to give opportunity to add more type info.
Maurizio
- Previous message: flatMap ambiguity
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the lambda-libs-spec-observers mailing list