<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><br class="">On Nov 9, 2017, at 11:35 AM, Tino Heth &lt;<a href="mailto:2th@gmx.de" class="">2th@gmx.de</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">This proposal only proposes renaming the “filterNonesAndMap” variant (though that name is misleading, it would be “filterNonesAfterMapping” if anything); the other uses of flatMap will remain unchanged.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""></div></blockquote></div>… then it should be really right: As I learned in the thread, there is a map step before filter, and another map afterwards - so „filterNonesAfterMappingAndMap“ (that’s why I don’t like the use of the term „filter“ here — if you want an accurate name that contains this verb, it gets quite complicated…)</div></div></blockquote></div>&nbsp;<div class="">But obviously “filterNonesAfterMappingAndMap” is not a name we’re going to end up with. You can argue that “filterMap” is not completely faithful to the internal implementation, but I think it’s clearly better than “flatMap” in this case, which is even <i class="">more</i>&nbsp;incorrect. I’m not opposed to finding a better name than “filterMap”, but so far I haven’t seen one.</div><div class=""><br class=""></div><div class="">-BJ</div></body></html>