Paul Brannan wrote: > On Tue, Nov 11, 2008 at 08:01:56PM +0900, Mikael H?ilund wrote: >> Default values, however, I can see becoming a bit of a hassle. Unless >> it's to be represented as a string of Ruby code, cases like `def foo >> bar, baz = "default-#{bar}"` will be quite difficult to express, let >> alone in a way that's easy and nice to handle. > > If we had unbound procs, it could be represented as an unbound proc. > > (rebinding a proc to a different binding is inherently unsafe, > unfortunately) Yeah, I don't even know how that would work; block bodies are parsed based on their surrounding scopes. - Charlie