<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 12, 2014 at 1:05 PM, Casey Ransberger <span dir="ltr">&lt;<a href="mailto:casey.obrien.r@gmail.com" target="_blank">casey.obrien.r@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">The influence of Smalltalk on Ruby is well known, and is in fact how I found you people:)<br>

<br>
Particularly striking is Ruby&#39;s block/closure syntax. Looks almost the same, which sticks out like a sore thumb in a dot and curly language. In the most recent versions I think they&#39;ve even added keyword messages.<br>

<br>
Awesome to know where #collect: came from. I wondered about that; given that the guy running the LRG was fond of LISP, I would have expected it to be called #map:.<br></blockquote><div><br></div><div>Dan posted last week that the collect:, detect:, inject:, reject:, select: suite was inspired by Arlo Guthrie&#39;s &quot;Alice&#39;s Restaurant Massacre&quot;:</div>
<div><br></div><div>&quot;<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">They got a building down New York City, it&#39;s called Whitehall Street,</span></div><span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">where you walk in, you get injected, inspected, detected, infected,</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">neglected and selected. I went down to get my physical examination one</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">day, and I walked in, I sat down, got good and drunk the night before, so</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">I looked and felt my best when I went in that morning. `Cause I wanted to</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">look like the all-American kid from New York City, man I wanted, I wanted</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">to feel like the all-, I wanted to be the all American kid from New York,</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">and I walked in, sat down, I was hung down, brung down, hung up, and all</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">kinds o&#39; mean nasty ugly things. And I waked in and sat down and they gave</span><br style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">
<span style="color:rgb(0,0,0);font-family:proxnov-reg,arial,sans-serif;font-size:medium;line-height:16px">me a piece of paper, said, &quot;Kid, see the psychiatrist, room 604.&quot;</span><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
I think the Ruby collections have #map() as a synonym for #collect(), reflecting the language&#39;s dual heritage. I&#39;ve always used collect though because it makes me think of baseball cards!<br>
<div class=""><div class="h5"><br>
&gt; On Apr 29, 2014, at 9:48 AM, Göran Krampe &lt;<a href="mailto:goran@krampe.se">goran@krampe.se</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; On 04/29/2014 06:41 PM, tim Rowledge wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; On 29-04-2014, at 9:30 AM, Göran Krampe &lt;<a href="mailto:goran@krampe.se">goran@krampe.se</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ...now... where do we stuff in #neglect:? :)<br>
&gt;&gt;<br>
&gt;&gt; Clearly, aCollection neglect: [:item| item size &gt; myFoo] would return a WeakArray of elements matching the block criterion; then when nobody is paying much attention they can be garbage collected.<br>
&gt;<br>
&gt; I like it. Personally was thinking that neglect could work similar to reject but instead return a wrapper using the first collection as a &quot;backend&quot;. So it uses the same collection but &quot;neglects&quot; those elements not matching :)<br>

&gt;<br>
&gt; Dynamically add some nasty Trait?<br>
&gt;<br>
&gt; regards, Göran<br>
&gt;<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>
</div></div>