[Haskell-beginners] Meaning of the ! operator

Nathan Huesken haskell at lonely-star.org
Sun Jun 13 16:12:22 EDT 2010


Hi,

I have often seen in haskell code a "!" in front of variables.
In example:

data BrickState = Live | Dying !GLfloat deriving (Eq,Show)

I never read the meaning of the "!", what does it do?

Thanks!
Nathan


More information about the Beginners mailing list