From: dblack@... Date: 2003-04-25T19:51:42+09:00 Subject: Re: block.call vs. yield Hi -- On Fri, 25 Apr 2003, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: block.call vs. yield" > on 03/04/25, Yukihiro Matsumoto writes: > > ||I noticed that the use of block/yield differs slightly when a "break" is > ||called in the code. > | > |You've found something unnatural. Let me examine. > > As a conclusion, you will have compatible behavior when you use > blk.yield (new method in 1.8) instead of blk.call. Fix will be > available soon on the CVS. Language comment: 'yield' as a method name for blocks strikes me as awkward. In the past I've never thought of 'yield'ing as an action performed by blocks, nor as something they're asked to do; it's more that they are executed because they get control because a 'yield' has already happened. David -- David Alan Black home: dblack@superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav