
6 Aug
2008
6 Aug
'08
2:39 p.m.
Jefferson Heard wrote:
Adrian, my understanding is that it's not that simple, because I need to preserve the state between calls to GLUT's callbacks, which all return IO ().
Then maybe see: http://www.haskell.org/pipermail/haskell-cafe/2007-July/028501.html
2008/8/6 Adrian Neumann
: There is the State Monad which is build just for that kind of purpose, I believe:
http://www.haskell.org/all_about_monads/html/statemonad.html
That would safe you from passing around the State
Jefferson Heard schrieb:
Working with HOpenGL and GLUT,
[snip] Claude