The Ocaml Graphics module is quite limited compared to SDL or GLUT,
and also fills a slightly different niche, but it does come with a
number of useful functions for drawing text, various graphics
primitives, and for polling mouse and keyboard events. Simple
standalone programs or demos can be created and distributed without
requiring that the SDL or GLUT shared library be present on those
systems.
To get an Ocaml window working with OpenGL I wrote a small stub file
in C and a few lines of ML code. A gzipped tar file containing all
necessary code to get OpenGL working in a native Ocaml graphic window,
along with an example for windows and linux, can be obtained from
http://www.elliottoti.com/code/glgraphics/glgraphics.tar.gz
A screenshot and a little more documentation is available at
http://www.elliottoti.com/index.php?p=24