[GHC] #7012: ForeignPtrContents isn't exported
GHC
cvs-ghc at haskell.org
Tue Jun 19 10:18:27 CEST 2012
#7012: ForeignPtrContents isn't exported
------------------------------+---------------------------------------------
Reporter: rl | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries (other)
Version: 7.4.2 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Other | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7012>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list