On Sat, Jul 31, 2010 at 2:32 PM, Ivan Lazar Miljenovic
<[email protected]> wrote:
>
> Forcing; it means that the values are evaluated (up to WHNF) before the
> Complex value is constructed:
>
> http://www.haskell.org/ghc/docs/6.12.1/html/users_guide/bang-patterns.html
>

Actually, this isn't a bang pattern: the 'a' here is not a pattern,
it's a type variable. Strictness flags in data declarations are a
haskell98 feature.

See:

http://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-680004.2

the paragraph on Strictness Flags a little way down that page.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to