Bas van Dijk
basvandijk at home.nl
Sat Feb 25 20:28:57 MET 2006
If you're looking for a guide, you have to check out HOpenGL (if you haven't
done so already). HOpenGL is the OpenGL binding for Haskell written by Sven
HOpenGL has a clear design which IMHO can serve as great inspiration for
COpenGL. Of course HOpenGL uses Monads for IO but rewriting that to
uniqueness typing should not be to difficult.
BTW HOpenGL also includes bindings for GLU and GLUT.
You can find the automatically generated documentation at:
The website also includes tutorials but it's a bit out of date:
Bas van Dijk.
On Saturday 25 February 2006 17:47, Jeff Ervin wrote:
> Thanks Diederik, I was hoping someone had already done some work that
> would serve as a guide for me. I would appreciate if you or Arjen could
> make your work available when you have time to look for it. If I can
> see how to do it, I have the time and energy to do a full binding.
> Jeff Ervin
> Diederik van Arkel wrote:
> > Hi Jeff,
> > yes this is possible with the current ffi although I can't remember of
> > hand if
> > you might need some undocumented features. I've started on a binding
> > once or twice
> > and I know Arjen van Weelden has done a little work on it as well.
> > Neither of us
> > got very far. The problem is mainly that OpenGL has a very large API
> > and we didn't
> > have the time and energy to produce a full binding.
> > Once I recover from my cold I'll look if I can find my old experiments
> > and ask Arjen
> > if he can find what he has produced (if he doesn't already reply
> > himself).
> > Regards and good luck,
> > Diederik van Arkel
> > P.S. I'll check with Arjen if maybe we can help a bit producing a
> > binding,
> > although I have little time these days.
> > On Feb 25, 2006, at 5:42 AM, Jeff Ervin wrote:
> >> Has anyone ever attempted an OpenGL binding for Clean? Is the foreign
> >> function interface for Clean sufficient for something like this?
> >> _______________________________________________
> >> clean-list mailing list
> >> clean-list at science.ru.nl
> >> http://mailman.science.ru.nl/mailman/listinfo/clean-list
> clean-list mailing list
> clean-list at science.ru.nl
More information about the clean-list