Proposal: Warn when using Enum instance of Float or Double

harry voldermort at hotmail.com
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: http://haskell.1045720.n5.nabble.com/Proposal-Warn-when-using-Enum-instance-of-Float-or-Double-tp5731620p5731685.html
Sent from the Haskell - Libraries mailing list archive at Nabble.com.



More information about the Libraries mailing list