No, because he isn't redefining the word in the global context but within another context. In order to access the original reduce from within the context he must use system/words/reduce.
HTH! ~~Ammon ----- Original Message ----- From: "Carl Read" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 10, 2003 12:45 PM Subject: [REBOL] Re: Rebol/Gotcha Handling previously defined words > > On 11-Dec-03, Tim Johnson wrote: > > > Well, I did it again, and punished myself severely for the > > transgression, but I can't bring back the time I lost.... > > > I created a subroutine in a context and called it 'reduce. And I > > forgot to either redefine or provide an absolute path for > > system/words/reduce. > > > Bad Tim, bad, bad Tim! > > > This poses the need for a wonderful one-liner that would throw an > > error or warning in case a word is defined and used in a context > > that already exists in system/words. > > > I'm just starting to dig into lisp as a part of learning emacs and I > > believe that language does have such safeguards, but I haven't been > > able to get to that understanding yet. > > > Any ideas? comments? > > I probably don't know what you mean, but doesn't PROTECT-SYSTEM do > this for you now? > > -- > Carl Read > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.