Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW, strictness may be introduced into haskell programs. Weak-head normal-form evaluation is builtin with the "seq" function and the "deepseq" library is commonly used for fully normal form evaluation of expressions.

GHC 8 also introduces the Strict and StrictData pragmas[1] which allow you to make a module (or its types) fully strictly evaluated.

[1]: https://ghc.haskell.org/trac/ghc/wiki/StrictPragma



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: