From: Charles Oliver Nutter Date: 2011-01-30T13:49:41+09:00 Subject: [ruby-core:34994] Re: [Ruby 1.9-Feature#4326] Fiber should respond to call() and [] On Fri, Jan 28, 2011 at 9:28 PM, Jim Weirich wrote: > I wouldn't say Knuth is wrong, but a natural language "is-a" is not always > an indication of subtype (c.f. the square/rectangle paradox where a square > is-a rectangle, but having square inherit separate set_width/set_height > methods from rectangle would be wrong). Right...so my reality 2 and your reality 4 are pretty close; mine says that coroutines and subroutines are the same thing, but subroutines are a specialized subset. Yours says that coroutines and subroutines are both of the same (super)type, and so they should share in common operations from that (super)type. In any case, I should restate again that I really don't care if Ruby adds call and [] on Fiber :) I just want to make sure it's not being done for a logically inconsistent reason. - Charlie