GOTCHA! OpenGL window behaviour is mis-spelled...

This caught me out for several frustrating minutes until I finally saw the problem... package: Graphics.UI.GLUT.Begin data ActionOnWindowClose has three constructors, and I wanted the third one which I glanced at and then spelled it how I knew it *should* be: ContinueExecution which gave me an error, and finally I realised that as an English word it is in fact spelled incorrectly in the code, like so: ContinueExectuoin HTML Link: http://hackage.haskell.org/packages/archive/GLUT/latest/doc/html/Graphics-UI... Is this one of those "accepted things" as in, too difficult to change because it will break stuff or could it be changed ? All the best, Sean.

Seems like something that _should_ be changed, either way. Contact the developer, I guess. http://www.haskell.org/haskellwiki/User:SvenPanne On Jun 30, 2011, at 3:38 PM, Sean Charles wrote:
This caught me out for several frustrating minutes until I finally saw the problem...
package: Graphics.UI.GLUT.Begin
data ActionOnWindowClose has three constructors, and I wanted the third one which I glanced at and then spelled it how I knew it *should* be:
ContinueExecution
which gave me an error, and finally I realised that as an English word it is in fact spelled incorrectly in the code, like so:
ContinueExectuoin
HTML Link: http://hackage.haskell.org/packages/archive/GLUT/latest/doc/html/Graphics-UI...
Is this one of those "accepted things" as in, too difficult to change because it will break stuff or could it be changed ?
All the best, Sean.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
==== "Computer Science is no more about computers than astronomy is about telescopes." -- Edsger Dijkstra ====
participants (2)
-
Jack Henahan
-
Sean Charles