[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:


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:


HTML Link:

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,

More information about the Beginners mailing list