This Haskell package contains tensor data types and their instances for some basic type classes. WWW: http://www.haskell.org/HOpenGL/