6.19.2. Special built-in functions¶
GHC has a few built-in functions with special behaviour. In particular:
- GHC.Exts.inline allows control over inlining on a per-call-site basis.
- GHC.Exts.lazy restrains the strictness analyser.
- GHC.Exts.oneShot gives a hint to the compiler about how often a function is being called.