[Haskell-cafe] Type hierarchy
ky3 at atamo.com
Wed Jan 16 17:35:50 CET 2013
On Wed, Jan 16, 2013 at 11:22 PM, Thiago Negri <evohunz at 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe