[Haskell-beginners] GOTCHA! OpenGL window behaviour is mis-spelled...

Sean Charles sean at objitsu.com
Thu Jun 30 21:38:27 CEST 2011


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-GLUT-Begin.html#v:actionOnWindowClose


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.




More information about the Beginners mailing list