Ticket #7412 (closed bug: fixed)

Opened 6 months ago

Last modified 6 months ago

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 Difficulty: Easy (less than 1 hour)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

The docs at

http://www.haskell.org/ghc/docs/7.4.2/html/users_guide/special-ids.html

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

Changed 6 months ago by simonpj

  • owner set to igloo
  • difficulty set to Easy (less than 1 hour)
  • priority changed from normal to highest
  • milestone set to 7.8.1

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.

Simon

Changed 6 months ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Fixed, thanks.

Note: See TracTickets for help on using tickets.