On 12 May, Jeffrey R. Lewis wrote:
> I agree, in fact, I'd go one stronger. I'll propose that `fromEnum' and
> `toEnum' be taken out, since clearly not all enumerable types are
> subtypes of Int (as you point out, Integer leaps immediately to mind).
An alternative would be to return fromEnum and toEnum to their
overloaded types:
toEnum :: Integral i => i -> a
fromEnum :: Integral i => a -> i
would that suit?
--
Jon Fairbairn [EMAIL PROTECTED]
- let succ be an Enum class member Christian Sievers
- Re: let succ be an Enum class member Jeffrey R. Lewis
- Jon . Fairbairn
