[REBOL] Re: Rebol/Gotcha Handling previously defined words
From: carl:cybercraft at: 24-Dec-2003 22:51
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
> 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?