3 ms·
You won't find any graphics libraries, so you'll have to make them from scratch Haskell has OpenGL bindings: http://www.haskell.org/haskellwiki/Opengl http://w
by gaius 17y ago
You won't find any graphics libraries, so you'll have to make them from scratch
Haskell has OpenGL bindings: http://www.haskell.org/haskellwiki/Opengl http://www.haskell.org/haskellwiki/Opengl
So does OCaml: http://glcaml.sourceforge.net/ http://glcaml.sourceforge.net/
- substack 17y agoI've used Haskell's OpenGL libraries some, and definitely recommend them over C++. OpenGL's callbacks feel much more natural in a functional language and the monadic do notation works very well at managing nested matrix transformations. Also, having an interpretive shell to play around with the types of functions is very useful.