On Sat, Jan 29, 2011 at 11:41 AM, Aaron Patterson <aaron / tenderlovemaking.com> wrote: >> 1. subroutines are a specialization of coroutines. Then it's perfectly >> valid for subroutines to define things coroutines do not. > > Yes, but it is *not* perfectly valid for subroutines to *not* define > things that coroutines do. We can either resolve that by defining > "resume" on Proc, or "call" and "[]" on Fiber. ... > I have been trying to choose reality number 1, the entire time, but > apparently I cannot explain myself clearly. :'( But doesn't reality 1 mean that subroutines should get resume/etc and coroutines should *not* get call/[]? It seems to me you either want my reality 3 or Jim's reality 4. - Charlie