Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Bug! Rebol's parsing of urls is incorrect.

From: al:bri:xtra at: 16-Feb-2001 15:05

> Holger Kruse wrote: > > Actually those open functions you are seeing are not defined separately
for each scheme. They are defined for the root protocol, and most schemes inherit them at object (scheme) creation time. Gabriele wrote:
> Correct me if I am wrong, but REBOL copies functions when cloning an
object (to bind them to the new context). So each handler has a copy of the same function. That's right. It's particularly obvious as a result of: mold system
> I think Andrew is suggesting to use delegation instead.
Actually, I wasn't, but delegation sounds like a good idea. The area of copying functions in a object is a "painful" area in Rebol. I'd really like to put a path in an object like: o: make object! [f: func [] []] oo: make o [] and see that the result of: probe oo would be something like: make object! [f: o/f] Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/