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

Albert Y. C. Lai trebla at vex.net
Tue Jul 8 15:05:42 EDT 2008


Daryoush Mehrtash wrote:
> Can some one explain what the !a does in this:
> 
> data Color3 a = Color3 !a !a !a

Shameless plug: http://www.vex.net/~trebla/haskell/strict-field.xhtml


More information about the Haskell-Cafe mailing list