Proposal: Warn when using Enum instance of Float or Double

harry voldermort at
Mon Jun 17 11:09:27 CEST 2013

Simon Peyton-Jones wrote
> I don't think it would be that hard to add DEPRECATE for instances.  A bit
> fiddly, and what should the syntax be.. but not really hard.  I can offer
> advice if someone wants to undertake it.
> It's a cost/benefit question: how often will it be used?

I've already proposed deprecation to prime, but they probably aren't going
to do it unless GHC can actually implement said deprecation.

In response to "how often will it be used", would it assist with changes to
the class hierarchy?

View this message in context:
Sent from the Haskell - Libraries mailing list archive at

More information about the Libraries mailing list