On Fri, 7 Oct 2005, David A. Black wrote:

> Hi --
>
> I'd always thought that yield was just syntactic sugar for calling the
> block, but I notice there's at least one difference:
>
         [...]
>  Output:
>
>  Still here (x)
>  retu.rb:11: unexpected return (LocalJumpError)
>          from retu.rb:11:in `y'
>          from retu.rb:14
>
>
> I'm trying to sort out all the return/Proc/lambda combinations... and
> this one struck me as odd.

356-360 in the Pickaxe II.  Particularly the bottom of 358.

I haven't got the subtleties entirely straight in my head yet, and
have to look it up when I need it.
>
>
> David
>
         Hugh