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

[REBOL] [refinements] Mutually exclusive refinements

From: atruter::labyrinth::net::au at: 15-Aug-2004 10:47

Here's my attempt at handling mutually exclusive refinements without using nested 'either. f: func [/a /b /c /d /e][ print switch/default true compose [ (a) ["A"] (b) ["B"] (c) ["C"] (d) ["D"] (e) ["E"] ]["?"] ] Anyone come across a better way? Regards, Ashley