From: Christophe Grandsire Date: 2005-10-13T17:58:19+09:00 Subject: Re: Default argument values for blocks Selon Thomas : > > whatever_method do(x, foo=bar) {puts x,foo} > Despite the fact that it looks like a monstruous cross between do... end and {...}, and would allow the stuttering: whatever_method do(x, foo=bar) do puts x,foo end I don't find it that bad at all. If we go for a keyword rather than symbol solution, I wouldn't mind it. For returning a Proc, using lambda is still the best idea so far: a = lambda(x, foo=bar) {puts x,foo} Maybe "with"? whatever_method with(x, foo=bar) {puts x,foo} whatever_method with(x, foo=bar) do puts x,foo end I still like my colon better ;) . -- Christophe Grandsire. http://rainbow.conlang.free.fr It takes a straight mind to create a twisted conlang.