
31 Jul
2010
31 Jul
'10
10:01 a.m.
Ben Millwood
On Sat, Jul 31, 2010 at 2:32 PM, Ivan Lazar Miljenovic
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.
Ugh, yeah; I should read what links I google for before putting them in emails :s -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com