From: Trans Date: 2005-10-10T06:21:52+09:00 Subject: Re: using lambda/Proc can prevent a lot of garbage collection Eric Hodel wrote: > On Oct 9, 2005, at 9:06 AM, Trans wrote: > > > This seems essentially the same as the discussion on closed blocks. > > Probably a bad idea to get rif of current behaivor, but there are good > > reasons to add an additional for what you suggest. Of course, off the > > bat there is a notation problem. My latest thought: > > > > [1,2,3].each{|x| p x |} > > > > The final '|' making it a closed block. > > That won't make eval work in a closure like it should. Like it *should*? I think eval works like it should, it's just that having eval means you can't be sure of what you can exclude or not. (Or is there something else?) The above explicity excludes all, essentially no closure --that's the idea anyway. Once again a good notation proves a problem. T.