empty case, empty definitions
isaacdupree at charter.net
Fri Aug 15 18:16:38 EDT 2008
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)?
More information about the Haskell-prime