Monad Actions… ok… sure… whatever…!?
When I was first learning about OpenGL in Haskell it dawned on me that the example I was reading was doing some pretty crazy hung up things with Haskell style DSL techniques.
White this might make sense for a syntax based DSL (imho), I wasn’t sure this was absolutely necessary under OpenGL since the entire library is already just a bunch of monadic actions!?
Ok… that’s cool, maybe it was just overlooked, and I thus devised a test. Write a small piece of monadic code that re-evaluated an action over and over again…and it worked!!!
w00t!!!1one
uh… yeah… maybe you should just read this instead… save yourself some time and embarrassment ;)
One the upside… that game is still slowly progressing…
– Lorenz