title: Which linear algebra to use for OpenGL in Haskell?
body: <p>I am trying to do some OpenGL programming in haskell. But i am confused by the current state of the libraries. <a href="http://hackage.haskell.org/package/OpenGL" rel="noreferrer">OpenGL</a> uses the <a href="http://hackage.haskell.org/package/Tensor" rel="noreferrer">Tensor</a> package which only defines several vector types (but doesn't do so in a generic way). It doesn't seem to provide any Matrix implementations.</p>
  <p>There are several other packages for linear algebra: <a href="http://hackage.haskell.org/package/tensor" rel="noreferrer">tensor</a> (note the lowercase T), <a href="http://hackage.haskell.org/package/Vec" rel="noreferrer">Vec</a>, <a href="http://hackage.haskell.org/package/hmatrix" rel="noreferrer">hmatrix</a> which seem to be more complete than <a href="http://hackage.haskell.org/package/Tensor" rel="noreferrer">Tensor</a>.</p>
  <p>What i am searching for should at least contain common functions used in 3d and 2d graphics, have reasonable performance and should be compatible with <a href="http://hackage.haskell.org/package/OpenGL" rel="noreferrer">OpenGL</a> but i guess i'll have to change the library for that.</p>