sleexyz / hylogen

GLSL embedded in Haskell
https://hylogen.com
481 stars 25 forks source link

non-tupled constructors #60

Open sleexyz opened 8 years ago

sleexyz commented 8 years ago

eg

vec4 1

vec4 (vec3 0, 1)

instead of

1 :: Vec4

vec4 (0 :: Vec3, 1)

where the type of the non-tupled constructor is a vec1.

Basically, it should function as a less polymorphic version of copy