[Haskell-cafe] Re: Draft chapters of "Real World Haskell" now publicly available

Jules Bean jules at jellybean.co.uk
Sun Jan 27 12:29:50 EST 2008


Achim Schneider wrote:
>> Will there be a chapter on OpenGL?
>>
> Please, don't. 
> 
> With the current state of Haskell's openGL, all you need is the redbook
> and a sed command that removes the 3f from vertex3f.

I'm not going to try to make a case for the authors of RWH to do a 
chapter on OpenGL. I don't think it's particularly important.

However, I do think that opengl code can be used for rather good worked 
examples which start with code which is pretty much a "sed translation" 
of C code and successively transform and abstract. Haskell gives so much 
more convenient abstraction power than, say, C or Java and it *really* 
shows in the ability to abstract the kind of boring boilerplate which 
pollutes large opengl programs.

Jules


More information about the Haskell-Cafe mailing list