From: Kevin Ballard Date: 2005-10-12T04:21:52+09:00 Subject: Re: Default argument values for blocks Yukihiro Matsumoto wrote: > Mostly because yacc does not allow it. It confuses > > lambda { |foo = bar| puts foo } > > as > > lambda { |foo = (bar| puts foo) } > > and causes syntax error. yacc? Maybe I was informed wrong, but I was under the impression that Ruby used a hand-rolled parser.