From: Jim Freeze Date: 2004-03-05T12:59:32+09:00 Subject: Re: One more proc question On Friday, 5 March 2004 at 12:52:15 +0900, Yukihiro Matsumoto wrote: > Hi, > > In message "One more proc question" > on 04/03/05, Dave Thomas writes: > > You cannot tell the difference from a block from block arguments and a > block from Proc.new. In fact, > > def fred(&block) > end > > is implemented by > > def fred > block = Proc.new > end > Well then, why isn't the syntax like so: def fred block = Block.new end I.e., what about changing Proc to Block? Then, we can have 'proc' and its alias 'lambda'. -- Jim Freeze My band career ended late in my senior year when John Cooper and I threw my amplifier out the dormitory window. We did not act in haste. First we checked to make sure the amplifier would fit through the frame, using the belt from my bathrobe to measure, then we picked up the amplifier and backed up to my bedroom door. Then we rushed forward, shouting "The WHO! The WHO!" and we launched my amplifier perfectly, as though we had been doing it all our lives, clean through the window and down onto the sidewalk, where a small but appreciative crowd had gathered. I would like to be able to say that this was a symbolic act, an effort on my part to break cleanly away from one state in my life and move on to another, but the truth is, Cooper and I really just wanted to find out what it would sound like. It sounded OK. -- Dave Barry, "The Snake"