Re: API names [was: ghc-6.0.1 and OpenGL enabled]

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
> The first two sound right to me, the third is actually a "withFoo", and
> the last three should be named in a consistent way. Combining your 
> proposals
> I suggest:
>
>    glBegin/glEnd                          renderPrimitive
>    glNewList/glEndList                    defineList
>    glPushName/glPopName                   withName
>    glPushMatrix/glPopMatrix               preservingMatrix
>    glPushAttrib/glPopAttrib               preservingAttrib
>    glPushClientAttrib/glPopClientAttrib   preservingClientAttrib
>
> Does this sound OK, especially for the native speakers on this list?

Sounds right to me [ aber ich bin kein Native Speaker ].

BTW, will there be a place in the docs where people coming from C could 
look up the equivalences? Perhaps a simple text file where I can just 
grep for a C name and get the corresponding Haskell name.

Cheers,

Wolfgang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.