blob: 939b969b6cf1262817be9dcb9398321ac8f61a46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.. _special-ids:
Special built-in functions
==========================
GHC has a few built-in functions with special behaviour. In particular:
- :base-ref:`GHC.Exts.inline` allows control over inlining on a per-call-site basis.
- :base-ref:`GHC.Exts.lazy` restrains the strictness analyser.
- :base-ref:`GHC.Exts.oneShot` gives a hint to the compiler about how often a
function is being called.
|