2008/8/28 Martin DeMello <martindemello / gmail.com>:
> On Thu, Aug 28, 2008 at 2:46 PM, John Pritchard-williams
> <monojohnny / googlemail.com> wrote:
>>
>> Mmh...maybe Greek character 'Lambda' could be useful here as
>> well....better than mutating '->'....:)
>
> PLT Scheme lets you use " instead of "lambda" in your code, e.g.
> (from the distribution):

I saw this originally from Dan Berger, but so can Ruby :)

#!/usr/bin/env ruby -Ku

alias proc

doubler = { |x| x*2 }
p doubler[5]   #=> 10

-greg



-- 
Technical Blaag at: http://blog.majesticseacreature.com | Non-tech
stuff at: http://metametta.blogspot.com