From: Austin Ziegler Date: 2004-03-02T07:03:16+09:00 Subject: Re: concerns about Proc,lambda,block On Tue, 2 Mar 2004 06:00:05 +0900, David A. Black wrote: > On Tue, 2 Mar 2004, Austin Ziegler wrote: >> I think that what's more bothersome to me is that there doesn't appear >> to be a way to convert one type of Proc to another. I can't do: >> n.argument_style(:yield) or n.argument_style(:method). > I agree with you in principle, though I would rather see Proc and Block > (or similar), just as we have Array and Hash (rather than one object with > index_style(:unordered_keys) and index_style(:integers)). We're on the same page, really. If they're going to be the same class, they should be readily convertible. Otherwise, they should probably be separate classes. I don't care for the names Proc and Block, really. I don't know what I'd suggest otherwise. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2004.03.01 * 16.57.28