On Wed, Jan 16, 2013 at 11:22 PM, Thiago Negri <evoh...@gmail.com> wrote:

> The C spec allows the use of GLboolean values where GLenums are expected.
>

Some fixes off the top of my head (caveats apply):

* define a lift :: GLboolean -> GLenum
* use a typeclass GLenumlike
* if there aren't too many of them, roll a GLboolean specific function for
every one taking GLenum

-- Kim-Ee
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to