[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

nice surprise in ruby's CVS

gabriele renzi

3/2/2005 7:31:00 AM

Hi gurus and nubys,

I did my usual check out of ruby's cvs HEAD and I discovered I can now
do this (but this is marked EXPERIMENTAL):

a= {|x| x**x }
a.call(10) =>10000000000

lovely, ain't it?
5 Answers

George Moschovitis

3/2/2005 9:31:00 AM

0

Great, but

a(10) => 10....00

would be better ;-)

-g.

Martin DeMello

3/2/2005 9:57:00 AM

0

George Moschovitis <george.moschovitis@gmail.com> wrote:
> Great, but
>
> a(10) => 10....00
>
> would be better ;-)

a[10] is not too terrible :)

martin

gabriele renzi

3/2/2005 10:29:00 AM

0

George Moschovitis ha scritto:
> Great, but
>
> a(10) => 10....00
>
> would be better ;-)
>

yay, waiting for that ;)

Csaba Henk

3/2/2005 5:59:00 PM

0

On 2005-03-02, gabriele renzi <surrender_it@remove-yahoo.it> wrote:
> Hi gurus and nubys,
>
> I did my usual check out of ruby's cvs HEAD and I discovered I can now
> do this (but this is marked EXPERIMENTAL):
>
> a= {|x| x**x }
> a.call(10) =>10000000000
>
> lovely, ain't it?

Eppur si muove! ;)

Csaba

rst9

9/8/2010 3:46:00 PM

0

The crazy retarded Son-Of-Bitch from the slum of Singapoor is not
funny as
a court jester of comedies. Go suck psychotic brainless shameless
crazy sleazy slimy filthy evil ugly abianchen/report2009/abum_chump
slut cunt
chattering monkey's dark brown skinned asshole and her filthy smelly
cunt.