[GHC] #3008: Strange behavior when using newtyped version of IO monad in FFI import declarations

GHC trac at galois.com
Mon Oct 26 04:28:53 EDT 2009


#3008: Strange behavior when using newtyped version of IO monad in FFI import
declarations
-------------------------------+--------------------------------------------
    Reporter:  waern           |        Owner:  chak   
        Type:  bug             |       Status:  new    
    Priority:  normal          |    Milestone:  6.12.1 
   Component:  Compiler        |      Version:  6.10.1 
    Severity:  normal          |   Resolution:         
    Keywords:  FFI             |   Difficulty:  Unknown
    Testcase:                  |           Os:  Linux  
Architecture:  x86_64 (amd64)  |  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * owner:  => chak

Comment:

 The bug in the FFI spec is fixed in the 2009 Haskell Prime iteration.
 Manuel says that now we need to

  * Fix GHC to refuse to transparently marshal opaque newtypes
  * Fix the FFI libraries not to expect GHC to do so

 Moreover he generously says "I'm happy to apply those changes, but it
 won't be right now, as I have a backlog of things to get through."

 So I'll assign this ticket to you, Manuel. Thanks.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3008#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list