Fwd: [Haskell-cafe] frag game-compiling error

Lyndon Maydwell maydwell at gmail.com
Mon Sep 28 08:42:25 EDT 2009


> src/Quaternion.hs:22:27

This would probably be the place to start.

On Mon, Sep 28, 2009 at 7:28 PM, Felipe Lessa <felipe.lessa at gmail.com> wrote:
> On Mon, Sep 28, 2009 at 01:57:03PM +0300, selahaddin gerdan wrote:
>> Sorry I'm just learning haskell, so I don't get your suggestion. Could you
>> explain to me what exactly I have to do?
>>
>> According to this<http://cvs.haskell.org/Hugs/pages/libraries/OpenGL/Graphics-Rendering-OpenGL-GL-BasicTypes.html#t%3AGLfloat>page
>> GLfloat is just a type synonym for type Float.
>> How come the error message differentiates between them?
>
> That's not the latest documentation, you should go to [1] if you
> want it.  Nowadays GLfloat isn't a type synonym anymore[2].
>
> HTH,
>
> [1] http://hackage.haskell.org/package/OpenGL
> [2] http://hackage.haskell.org/packages/archive/OpenGLRaw/1.1.0.0/doc/html/Graphics-Rendering-OpenGL-Raw-Core31.html#t%3AGLfloat
>
> --
> Felipe.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list