<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div>On Aug 15, 2016, at 17:51, David Hart via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div style="direction: inherit;">I prefer the much simpler and natural:</div><div style="direction: inherit;"><br></div><div style="direction: inherit;"><span style="background-color: rgba(255, 255, 255, 0);">let value = x.map { foo.bar(x: $0) }</span></div><div style="direction: inherit;"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div style="direction: inherit;"><span style="background-color: rgba(255, 255, 255, 0);">Is it me or has everybody been avoiding the map solution for some reason. It's the most elegant way to do such operations IMHO.</span></div></div></div></blockquote>It doesn't help for functions with multiple parameters. At one point I'd made a "multimap" top-level function for iterating over multiple sequences... maybe something like that?<div><br></div><div>- Dave Sweeris</div></body></html>