Ticket #7012 (closed bug: fixed)
ForeignPtrContents isn't exported
| Reported by: | rl | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.6.1 |
| Component: | libraries/base | Version: | 7.4.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Other | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
GHC.ForeignPtr? doesn't export ForeignPtrContents?. This means that this function can't be given a signature in user code:
f (ForeignPtr? _ x) = x
ForeignPtrContents? should be exported, at least abstractly, although exporting the constructors, too, would be useful for low-level code.
Change History
Note: See
TracTickets for help on using
tickets.
