<br><br><div class="gmail_quote">On Mon, Apr 18, 2011 at 6:21 PM, Jens Petersen <span dir="ltr">&lt;<a href="mailto:juhp@community.haskell.org">juhp@community.haskell.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 7 April 2011 06:51, Don Stewart &lt;<a href="mailto:dons00@gmail.com">dons00@gmail.com</a>&gt; wrote:<br>
&gt; Moving those modules under OpenGL.*.*.StateVar etc would remove the<br>
&gt; problems with upgrading to the HP.<br>
<br>
</div>Perhaps it would be a good time now to revisit again whether<br>
we really need to include OpenGL support inside HP or not.<br>
<br>
I grant that it may be convenient for users who might find it<br>
hard to build OpenGL and GLUT with cabal-install; on the other hand<br>
not that many haskell packages actually need those libraries AFAICT<br>
so I am still not convinced that they really belong in HP.<br></blockquote><div><br></div><div>Let&#39;s look at some numbers:</div><div><a href="http://www.galois.com/~dons/hackage/march-2011/mar-10-to-feb-11.txt">http://www.galois.com/~dons/hackage/march-2011/mar-10-to-feb-11.txt</a></div>
<div><br></div><div><a href="http://www.galois.com/~dons/hackage/march-2011/mar-10-to-feb-11.txt"></a>Search for opengl and you&#39;ll see that it&#39;s in the top 25, meaning it&#39;s used by a relatively high number of packages.  That means we&#39;re discussing a library that provides a unique capability (opengl support) that is in the top 25 of the Haskell libraries.  Not making it easy to get seems like a bit of a strategic error to me.</div>
<div><br></div><div>The reverse package index shows what depends on it:</div><div><a href="http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/OpenGL-2.4.0.1#direct">http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/OpenGL-2.4.0.1#direct</a></div>
<div><br></div><div>And some things depend on the raw bindings instead:</div><div><a href="http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/OpenGLRaw-1.1.0.1#direct">http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/OpenGLRaw-1.1.0.1#direct</a></div>
<div><br></div><div>Additionally, I&#39;ve had 1 person contact me off list saying that they wouldn&#39;t even be a Haskell programmer if the opengl bindings were not in the HP.  If there had been any barrier to getting good opengl support when they started learning Haskell that would have been a show stopper for them.</div>
<div><br></div><div>Jason</div></div>