[HOpenGL] ghc-6.0.1 and OpenGL enabled

Carl Witty cwitty at newtonlabs.com
Wed Oct 8 13:10:59 EDT 2003


On Wed, 2003-10-08 at 10:56, Nick Name wrote:
> Alle 16:20, mercoledì 8 ottobre 2003, Alastair Reid ha scritto:
> > Based on the examples in the last few emails, would the name
> > 'withLocalMatrix' work?
> >
> > (I'm thinking that drawing a parallel with the 'withX' functions in
> > other libraries might be useful.)
> 
> I was just going to suggest withCurrentMatrix or withMatrix :)

I don't like withCurrentMatrix ("with current" sounds like it should be
a no-op).  withLocalMatrix would be good; for a long, descriptive name,
you could use whileRememberingCurrentMatrix (shorter versions might be
whileRememberingMatrix or rememberingCurrentMatrix).

Carl Witty




More information about the HOpenGL mailing list