From: Yukihiro Matsumoto Date: 2008-05-12T08:10:35+09:00 Subject: Re: lambda, ->, haskell, and so on Hi, In message "Re: lambda, ->, haskell, and so on" on Sun, 11 May 2008 15:14:54 +0900, Evan Phoenix writes: |Not to throw the whole thread into a tizzy again, but why again is: | | ->(a,b) { } # stabby proc | |better than | | def(a,b) { } # anonymous def | |Seems like there has been continual talk of the positions of ->, but |none (I may have missed it) on it existing at all (though, I'm quite |aware of them existing before). IIRC, def stands for define, so def foo(bar) ... end reads "define method foo which takes a parameter bar as blah blah". Anonymous def does not define any method, so its name contains contradiction in itself. matz.