--000feaf06d46831ce10471cacdd5
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On Sat, Aug 22, 2009 at 5:11 PM, James Edward Gray II <james / graysoftinc.com
> wrote:

> On Aug 22, 2009, at 7:04 PM, Yehuda Katz wrote:
>
>   call_method({ proc_1 }, { proc_2 }, { proc_3 })
>>
>
>  Among other things, this syntax makes using multiple blocks in a method
>> call easier on the eyes.
>>
>
> In 1.9 that could be:
>
>  call_method ->() { proc_1 },
>              ->() { proc_2 },
>              ->() { proc_3 }
>
> Not quite what you asked for, I know.  But closish.
>
> The new syntax is growing on me.  I think it looks pretty good with the new
> Hash syntax, for example:
>
>  call_method load: ->() { proc_1 },
>              save: ->() { proc_2 },
>              quit: ->() { proc_3 }


I'm fine with the new syntax as well. The main difference is that while ->{
stuff } would create a lambda, { stuff } would create a proc. I think
there's a certain elegance to that.


>
>
> Just some thoughts.
>
> James Edward Gray II
>
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--000feaf06d46831ce10471cacdd5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class="gmail_quote">On Sat, Aug 22, 2009 at 5:11 PM, James Edward Gray II <span dir="ltr">&lt;james / graysoftinc.com&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Aug 22, 2009, at 7:04 PM, Yehuda Katz wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  ¨Βαμμίνετθοδ¨ϋ πςογί± ύ¬ πςογί² ύ¬ πςογί³ ύ©ΌβςΎ
</blockquote>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:08ex;border-left:1px #ccc solid;padding-left:1ex">
Among other things, this syntax makes using multiple blocks in a method call easier on the eyes.<br>
</blockquote>
<br></div>
In 1.9 that could be:<div class="im"><br>
<br>
  ¨Βαμμίνετθοδ ­¦ητ»¨πςογί± ύ¬ΌβςΎ
 &gt;() { proc_2 },<br>
 &gt;() { proc_3 }<br>
<br></div>
Not quite what you asked for, I know.  ¨Βυτ γμοσισθ®ΌβςΎ
<br>
The new syntax is growing on me.  ¨Β τθιξιτ μοολπςεττω ηοοδ χιτθ τθξεΘασθ σωξταψζοεψανπμεΊΌβςΎ
<br>
  ¨Βαμμίνετθοδ μοαδ­¦ητ»¨πςογί± ύ¬ΌβςΎ
  ¨ΒαφεΊ ­¦ητ»¨πςογί² ύ¬ΌβςΎ
  ¨ΒυιτΊ ­¦ητ»¨πςογί³ ύΌ―βμογλρυοτεΎΌδιφΎΌβςΎΌ―διφΎΌδιφΎΙ¦£³Ή»ζιξε χιτθ τθξεσωξταψ ασ χεμμΤθναιξ διζζεςεξγε ισ τθατ χθιμ­¦ητ»ϋ στυζχουμγςεατε μανβδαστυζχουμγςεατε πςογτθιξτθες妣³Ή»γεςταιεμεηαξγε το τθατ®Ό―διφ
<div>/div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
Just some thoughts.<br><font color="#888888">
<br>
James Edward Gray II<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Yehuda Katz<br>Developer | Engine Yard<br>(ph) 718.877.1325<br>

--000feaf06d46831ce10471cacdd5--