
15 Aug
2008
15 Aug
'08
10:16 p.m.
Neil Mitchell wrote:
Sounds bad. Consider:
gray :: Color grey = newColor "#ccc"
My rationale for typoes not being a problem (both your example, and the one Malcolm Wallace posted to the "empty case" ticket) is that GHC will give you a warning anyway (and that warning should be on by default). Should we be worrying about the situation being worse for other compilers that don't have good warning-systems (e.g. I don't think Hugs has warnings at all)? -Isaac