#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs