cvs commit: fptools/libraries/OpenGL/Graphics/Rendering/OpenG L/GL U Constants.hs fptools/libraries/OpenGL/specs/enumerant ConvertEnumSpec.hs test.stdout

Simon Peyton-Jones simonpj@microsoft.com
Tue, 11 Feb 2003 08:24:30 -0000


| Hmmm, what about compatibility with code which uses generics? Would
| HOpenGL work with it? It would be a bad idea for a library to make
| some random assumptions about its intended usage...

Yes, you get two functions per data type.  If you compile with
-fno-generics then the only bad thing is that you won't be able to do
the 'derivable type classes' thing:
=09
http://haskell.cs.yale.edu/ghc/docs/latest/html/users_guide/generic-clas
ses.html

Everything else will be fine.

Simon