mortenbp/OpenGL — comment on commit 66957698c6dfee563a22d1868ab6cbb8402b34c3
File:  line 0
By mortenbp:

On Tue, Jan 31, 2012 at 15:01, Jason Dagit

wrote:
> I'm trying to understand what this fixes. Did you get an error? If so, can you please share it?
>
> The reason I ask is because, this has been working. To declare a Num instance you must also have an Eq instance and so `a` must already be an instance of Eq: http://www.haskell.org/onlinereport/basic.html#standard-numeric-types

To be honest I just added the context because GHC told me to. But I
just checked up on it and it seems that `Eq' was taken out of `Num' in
base 4.5.0.0 [1]. As you say it's there in the latest base (4.4.1.0)
[2]. So maybe you were not the right one to contact..?

--
Morten

[1] http://www.haskell.org/ghc/dist/stable/docs/html/libraries/base-4.5.0.0/Prelude.html#t:Num
[2] http://hackage.haskell.org/packages/archive/base/4.4.1.0/doc/html/Prelude.html#t:Num