While using WebGL in Elm, I discovered the GLSL parser doesn't seem to infer types of arrays correctly.
For instance: uniform int array[32]; is inferred as having just the type Int.
I'm not sure about Haskell, but in Elm I expect this type to be inferred as Array Int.
Is this simply not supported, or is it a bug?
While using
WebGLinElm, I discovered theGLSLparser doesn't seem to infer types of arrays correctly.For instance:
uniform int array[32];is inferred as having just the typeInt.I'm not sure about
Haskell, but inElmI expect this type to be inferred asArray Int.Is this simply not supported, or is it a bug?