Skip to content

normalize color names by removing spaces before lookup#17

Closed
AlexKnauth wants to merge 1 commit into
racket:masterfrom
AlexKnauth:normalize-remove-spaces
Closed

normalize color names by removing spaces before lookup#17
AlexKnauth wants to merge 1 commit into
racket:masterfrom
AlexKnauth:normalize-remove-spaces

Conversation

@AlexKnauth

@AlexKnauth AlexKnauth commented Jan 21, 2019

Copy link
Copy Markdown
Member

Previously the find-color method of the color database normalized only by downcasing. Now it downcases and removes spaces, except for "cadet blue" and "cornflower blue", which it leaves as-is.

Previously the find-color method of the color database normalized only by downcasing. Now it downcases and removes spaces, except for "cadet blue" and "cornflower blue".
@AlexKnauth
AlexKnauth force-pushed the normalize-remove-spaces branch from 471d812 to d0c0549 Compare January 22, 2019 14:33
@rfindler

Copy link
Copy Markdown
Member

This looks good to me except that it needs a documentation update (preferably with some examples that highlight the strangeness of the two special cases).

@mfelleisen

Copy link
Copy Markdown
Contributor

I am fine with this. We'll see whether anyone hollers about 2htdp/image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants