<br><br><div class="gmail_quote">On Tue, Sep 11, 2012 at 4:49 AM, Bryce <span dir="ltr">&lt;<a href="mailto:bryceverdier@gmail.com" target="_blank">bryceverdier@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In the same vein as the &quot;who discovered the fold operation&quot; thread from last week, I would like to know the same answer for &quot;map&quot;.<br>
<br>
I tried looking it up on wikipedia, but the best line I could find from it is this:<br>
&quot;The map function originated in functional programming languages but is today supported (or may be defined) in many procedural, object oriented, and multi-paradigm languages as well: In C++&#39;s Standard Template Library, it is called transform, in C# (3.0)&#39;s LINQ library, it is provided as an extension method called Select.&quot;<br>

<br>
Does anyone have an answer or idea on where I could look?<br>
<br>
Thanks in advance and sorry if it it&#39;s a redundant question.<br>
<br>
Bryce<br>
</blockquote></div><br>Among programming languages I think its (again) APL.  In the case of map its much more pervasive and implicit than with fold. (In haskell terminology we would say both map and zipwith)<br><a href="http://www.jsoftware.com/papers/APL1.htm#s.5">http://www.jsoftware.com/papers/APL1.htm#s.5</a><br>
Heres a small A+ (linux apl) session.<br><br>  A+<br>       Copyright (c) 1990-2008 Morgan Stanley.  All rights reserved.<br>       This version is Release 4.22<br>&gt; a ← 4<br>&gt; v ← 5 6 7<br>&gt; a + a<br> 8<br>&gt; a + v<br>
 9 10 11<br>&gt; v + v<br> 10 12 14<br> &gt; v × v<br> 25 36 49<br>&gt; v ÷ v<br> 1 1 1<br>&gt; v ÷ 2<br> 2.5 3 3.5<br>&gt; v ≤ 6<br> 1 1 0<br>  <br>