We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now the pattern synonyms yield super liberal types and the combinators take very specific ones that match OpenGL.
This is somewhat unfortunate in that there are many fields for which the thing we pass is usually newtyped in user code (e.g. Program, Shader, etc.)
Program
Shader
We could/should switch some or all of the fields to allowing anything Coercible to the appropriate type.
I'm inclined to look for ones that are just things like program, etc where no GL_FOO args are passed, and generalize just those to avoid type errors.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now the pattern synonyms yield super liberal types and the combinators take very specific ones that match OpenGL.
This is somewhat unfortunate in that there are many fields for which the thing we pass is usually newtyped in user code (e.g.
Program
,Shader
, etc.)We could/should switch some or all of the fields to allowing anything Coercible to the appropriate type.
I'm inclined to look for ones that are just things like program, etc where no GL_FOO args are passed, and generalize just those to avoid type errors.
The text was updated successfully, but these errors were encountered: