Chris Burdorf, you wrote:
> I was wondering if anyone out there has built any sort of
> Haskell interface to OpenInventor or OpenGL?  I'm currently looking
> into the possibly of using one or the other with Haskell and would be
> interesting if anyone has any design insights they'd like to share.

Well, I'm not sure how helpful this will be, but Tom Conway has written
(most of) an OpenGL interface for Mercury.  It is available in the
extras/graphics directory in the latest Mercury distribution from
ftp://turiel.cs.mu.oz.au/pub/beta-releases.  Mercury is similar enough
to Haskell that the two interfaces may share some design insights.

The only insight that springs to mind is the way we handle C enumerations
by mapping them to Mercury enumerations (discriminated union types).

Tom also made an interface to Togl-1.2, which is a Tk interface to OpenGL.
If you were making a Haskell interface to OpenGL you'd probably want to
do the same.

-- 
Fergus Henderson <[EMAIL PROTECTED]>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]         |     -- the last words of T. S. Garp.



Reply via email to