
Bas van Dijk wrote:
Sorry for being such a nOOb, (just starting with Haskell...)
No problem, that's what mailing lists are for...
but how exactly do I compile your "Hello.hs"?
When I: -----------------------------------
ghc -package GLUT Hello.hs
Hello.hs:16: Variable not in scope: `clear' [ a few dozen error messages omitted ]
That's exactly what I meant with "rather incomplete"... :-} It compiles & links fine using your commandline with the CVS HEAD, but not with 5.04.3. But there's still HOpenGL 1.04... (*hint* *hint* :-) Sorry for this confusing versionitis, but keeping up with the evolving OpenGL standard, FFI standardization and changing Haskell libraries is sometimes a bit tough. I hope that in a few months the CVS version will be usable enough to release a brand-new HOpenGL-2.0 (hmmm, or should it better be called "1.4"?), offering full OpenGL 1.4 support, hierarchical libraries, extensive online documentation, etc. Cheers, S.