Fixing flatMap: bikeshed edition

Remi Forax forax at univ-mlv.fr
Mon Dec 17 07:13:07 PST 2012


On 12/17/2012 04:13 PM, Brian Goetz wrote:
> 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?

linearize ?

Rémi



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