On Feb 1, 2011, at 8:59 AM, Todd O'Bryan wrote: > It appears that image-color? from 2htdp/image returns true no matter > what string you give it. > > Is there some other function that actually checks to see if a color is > defined?
There's name->color in the picturing-programs package. It returns a struct:color (with red, green, blue, and alpha components) if the name is recognized, and false if it's not. Stephen Bloch [email protected] _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

