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

[REBOL] Rebol/Gotcha Handling previously defined words

From: tim:johnsons-web at: 10-Dec-2003 10:30

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? TIA -- Tim Johnson <[tim--johnsons-web--com]> http://www.alaska-internet-solutions.com