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

[REBOL] Re: [refinements] Mutually exclusive refinements

From: greggirwin:mindspring at: 15-Aug-2004 10:48

This is a good topic; it's making us think. Context will be important here, WRT how things should behave. The common case, where we're writing code that uses refinements, should probably throw an error if you specify two conflicting options; it's likely a coding mistake that subjects you to the logic embedded in the function WRT precedence. Gabriele said: Someday, somewhere, you'll be able to use:
>> help case
USAGE: CASE block /all You can, even today. I think it was Jaime Vargas who posted a version somewhere, though I can't put my finger on it at the moment. Anyone got it handy? Jaime, was it you? -- Gregg