Andrej Mitrovic: > http://codepad.org/a3aCokKT Suggestion for the run-time version: assert(color in hash(red, green, blue)); ==> assert(color in set([red, green, blue])); Bye, bearophile