From: Bertram Scharpf Date: 2005-06-29T07:24:14+09:00 Subject: Re: yield does not take a block Hi, Am Mittwoch, 29. Jun 2005, 01:19:16 +0900 schrieb Yukihiro Matsumoto: > In message "Re: yield does not take a block" > on Wed, 29 Jun 2005 00:49:17 +0900, James Britt writes: > > |> yield is a keyword to pass a value (and control) to the block attached > |> to the method. I feel strange when I see yield passes a block to an > |> outer block. > | > |Is that good strange or bad strange? > > I feel bad strange. Do you? Logic demands to allow it. Prohibiting it would mean to introduce an exception rule (POLS?). Anyway, the programmer should be saved from fooling himself inventing more and more complicated constructions. Bad strange. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de