3 ms·
GHC allows you to force fields to be strict rather than lazy. http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/bang-patterns.html http://www.haskell.org/
by gamegoblin 13y ago
GHC allows you to force fields to be strict rather than lazy.
http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/bang-patterns.html http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/bang-...
- quchen 13y agoStrict fields are actually standard Haskell, http://www.haskell.org/onlinereport/haskell2010/haskellch4.html#x10-710004.2.1 http://www.haskell.org/onlinereport/haskell2010/haskellch4.h... (The similarly looking BangPatterns extension is supported by GHC only.)