Fixing flatMap: bikeshed edition

Brian Goetz brian.goetz at oracle.com
Mon Dec 17 07:13:27 PST 2012


I'm working on a better API for flatMap.  But, part of fixing flatMap is 
the name.  If we were mapping elements to Streams, flatMap would be a 
fine name, but that's not what we're doing (nor is it all that 
practical.)  So the name is already a bit misleading.

Candidates:
  - mapMulti
  - explode

Others?


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