https://github.com/haskell-opengl/StateVar
