From: Gary Wright Date: 2009-01-15T01:38:25+09:00 Subject: Re: functional programming On Jan 14, 2009, at 9:09 AM, Pascal J. Bourguignon wrote: > "David A. Black" writes: >> But what would this be: >> >> f = lambda {} >> def f; end >> f() > > It's clear, f() calls the def f. > You need and have another expression to call the lambda. Maybe something like: (f())() But, like David, I still don't see the net benefit to the language involved in this line of thinking. f[] Seems to meet most needs without trying to make Ruby something that it isn't. Gary Wright