There is no notion of current context.
The same function can be referenced by words
in two different objects, can't it?
Therefore, which context is "current"?

It's probably infeasible to add a complete
undo function, but perhaps an /original
refinement might be good so you don't have
to remember the original function. It doesn't
buy you much, though.

Anton.

> > Max:
> > 
> > > Anyone... What is the best way for a function to detect if 
> > it is part of an 
> > > object?
> > 
> > One way would be to check if 'self is defined.
> 
> 
> I though of that, but it is very possible that someone will use 
> self in the global context. even checking if its type is object! 
> isn't completely safe...
> 
> isn't there a way to probe the current context, one which works 
> whether we are in an object or the global namespace ?
> 
> I might add a /bind refinement which forces a bind of the created 
> function block to an object.  When used, It would implicitly make 
> /revert function differently than when defined 'globally'.
> 
> 
> As I don't need this functionality right now, I'll put it on the 
> back burner, but if any one DOES need it, I'll raise the priority.
> 
> I'm pushing slim as the only code I write on right now... so 
> everything else is secondary.
> 
> I want to start working on STEEL|FORGE SOOOOOO badly.
> 
> I might start working on a Q&D forge prototype (a closed 
> rebol-coding exclusive toolset with no api) to bootstrap the real 
> application and improve liquid-vid coding speed.
> 
> 
> cheers!
> 
> -MAx

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to