Malcolm Wallace <[EMAIL PROTECTED]> writes:

>> 5.  In Appendix A, the Enum class defn, add comments to explain that the
>> default methods only work for types whose fromEnum/toEnum range fits
>> inside Int.

> I would rather have correct default definitions.

Somebody raised the issue why to/fromEnum doesn't use Integer instead
of Int.  This would, it would seem, solve at least some of the Enum
problems that arise from (integral) types with more than 4G values.
So, again, why not?

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to