[Haskell-cafe] data Color3 a = Color3 !a !a !a

Daryoush Mehrtash dmehrtash at gmail.com
Tue Jul 8 07:22:46 EDT 2008


Can some one explain what the !a does in this:

data Color3<http://cvs.haskell.org/Hugs/pages/libraries/OpenGL/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t%3AColor3>a
=
Color3<http://cvs.haskell.org/Hugs/pages/libraries/OpenGL/Graphics-Rendering-OpenGL-GL-VertexSpec.html#v%3AColor3>!a
!a !a

http://cvs.haskell.org/Hugs/pages/libraries/OpenGL/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t%3AColor3

Thanks,

Daryoush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080708/9aa3ac0d/attachment.htm


More information about the Haskell-Cafe mailing list