<div dir="ltr">GLFW and GLFW-b aren't _meant_ to be used together, though I don't see why you _couldn't_ use them together. People in the #haskell-game channel on <a href="http://irc.freenode.net">irc.freenode.net</a> may be able to help you, as well as the package maintainers. I know Brian Lewis (glfw-b) is pretty fast to respond.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 1:55 AM, Vlad Lopatin <span dir="ltr"><<a href="mailto:madjestic13@gmail.com" target="_blank">madjestic13@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Thanks, Christiaan <div><br></div><div>Does it mean that GLFW-b and GLFW (<span style="font-family:arial,sans-serif;font-size:12.800000190734863px">haskell package</span>) are not meant to be used together?</div>

<div><br></div><div>I like some GLFW-b functionality, but I also like to be able to call some of GLFW haskell package functions.  If I try to import GLFW-b and GLFW at the same time - I get the 'ambigous name' error.  Is there a recommendation for a good coding practice here?</div>

<div><br></div><div><br></div><div>Regards,</div><div>Vladimir</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 December 2013 10:35, Christiaan Baaij <span dir="ltr"><<a href="mailto:christiaan.baaij@gmail.com" target="_blank">christiaan.baaij@gmail.com</a>></span> wrote:<div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">The GLFW and GLFW-b package on hackage are _both_ wrappers around the C-library GLFW.<br>

So, GLFW-b "extends" the GLFW C-library, _not_ the GLFW haskell package.<br><br>Hope everything is clear now.<br><br>-- Christiaan<br><div><div><br>On Dec 12, 2013, at 9:42 AM, Vlad Lopatin <<a href="mailto:madjestic13@gmail.com" target="_blank">madjestic13@gmail.com</a>> wrote:<br>

<br>> Hey guys,<br>><br>> I am messing with OpenGL and here's the question:<br>><br>> 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.<br>

><br>> Am I missing something?<br>><br>> Regards,<br>> Vladimir<br></div></div>> _______________________________________________<br>> Haskell-Cafe mailing list<br>> <a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>

> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br><br></blockquote></div></div></div></div></div>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Schell Scivally<br><a href="http://blog.efnx.com" target="_blank">http://blog.efnx.com</a><br><a href="http://github.com/schell" target="_blank">http://github.com/schell</a><br>
<a href="http://twitter.com/schellsan" target="_blank">http://twitter.com/schellsan</a>
</div>