[Haskell-cafe] Why is toRational a method of Real?

David Virebayre dav.vire+haskell at gmail.com
Thu Aug 5 08:28:10 EDT 2010


On Thu, Aug 5, 2010 at 1:55 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:

> It's even worse: The NumericPrelude is in progress, certainly currently
> better than Haskell 98's type classes, but there are known problems.
> Sometimes new numeric types are implemented and require to refine or
> restructure the classes, again. And there are not only problems with the
> numeric type classes, think of Functor, Applicative, Monad, and so on. In my
> opinion before trying to move to an improved numerical type hierarchy we
> should have class aliases designed, implemented and thoroughly tested in
> GHC.
>

It's sad because the class alias proposal was dropped from Haskell'
two years ago, isn't it ?


More information about the Haskell-Cafe mailing list