From: Christian Neukirchen Date: 2005-03-21T21:36:45+09:00 Subject: Re: Paul Graham recommends Ruby Mathieu Bouchard writes: > On Sun, 20 Mar 2005, David A. Black wrote: > >> I'm not sure anything's new in that CVS feature except: >> my_lambda = {|| puts "I am a lambda"} >> where the || (with or without a param list) tells you that it's a >> lambda rather than a hash. >> I'm not a fan of this; I prefer using the lambda keyword. > > Why not alias lambda/proc to L ? it would be just one more character to > type than the new syntax when there are arguments, and one _less_ > character when there are none. And no syntax changes. Rather, extend Ruby to handle uncode identifiers!! (or can it already?) http://kronavita.de/chris/graphics/ruby-emacs.png (That's faking by the editor, though.) > precedent: there's already a method called p. Seriously, I could live with L, but would use lambda nevertheless. It has a nice ring to my lispy ears. :-) -- Christian Neukirchen http://chneukirchen.org