[Haskell-cafe] GLFW/GLFW-b ambiguity

Christiaan Baaij christiaan.baaij at gmail.com
Thu Dec 12 09:35:33 UTC 2013


The GLFW and GLFW-b package on hackage are _both_ wrappers around the C-library GLFW.
So, GLFW-b "extends" the GLFW C-library, _not_ the GLFW haskell package.

Hope everything is clear now.

-- Christiaan

On Dec 12, 2013, at 9:42 AM, Vlad Lopatin <madjestic13 at gmail.com> wrote:

> Hey guys,
> 
> I am messing with OpenGL and here's the question:
> 
> GLFW-b is supposed to be based on GLFW and extend it.  How come GLFW-b naming is ambiguous with GLFW?  GLFW-b main module is named the same as GLFW (import Graphics.UI.GLFW), making it necessary to hide one of the libraries via ghc-pkg hide, or to use a language extension in order to solve ambiguity.  I am tempted to consider it a bug, unless somebody knows a good reason for it to be called a feature.
> 
> Am I missing something?
> 
> Regards,
> Vladimir
> _______________________________________________
> 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