Opened 7 years ago

Closed 7 years ago

#7412 closed bug (fixed)

Document how to import the special built-in functions such as inline

Reported by: tibbe Owned by: igloo
Priority: highest Milestone: 7.8.1
Component: Documentation Version: 7.6.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The docs at

describe what e.g. the inline function does, but they don't describe how to import the function. The docs could even be interpreted as suggesting that you should import GHC.Prim. I suggest we either update those docs or the ones in the GHC.Prim module to explains how to import these functions (i.e. through GHC.Exts).

Change History (2)

comment:1 Changed 7 years ago by simonpj

difficulty: Easy (less than 1 hour)
Milestone: 7.8.1
Owner: set to igloo
Priority: normalhighest

Good point. Easy to fix. Ian could you update the docs to point to GHC.Exts (which is the approved import point for all such functions) instead? Thanks.


comment:2 Changed 7 years ago by igloo

Resolution: fixed
Status: newclosed

Fixed, thanks.

Note: See TracTickets for help on using tickets.