Remove Enum from Float and Double

Brent Yorgey byorgey at seas.upenn.edu
Tue Jun 18 15:29:07 CEST 2013


On Wed, Jun 12, 2013 at 07:47:22AM +0000, harry wrote:
> Tillmann Rendel <rendel at ...> writes:
> 
> > In general, I would be against removing features just because they are 
> > confusing for beginners. I don't think that's a good design principle 
> > for a language that is primarily targeted at professional programmers 
> > and computer scientists.
> 
> They're confusing to beginners because they don't have consistent or
> sensible semantics. That should bother the professional programmers and
> computer scientists too!

Sure, but in fact it's the entire Enum class which doesn't have a
consistent or sensible semantics, not just some particular instances.

-Brent



More information about the Haskell-prime mailing list