[GHC] #7048: Add the ability to statically define a `FunPtr` to a haskell function

GHC cvs-ghc at haskell.org
Fri Jul 6 10:51:32 CEST 2012


#7048: Add the ability to statically define a `FunPtr` to a haskell function
---------------------------------+------------------------------------------
    Reporter:  pcapriotti        |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:  7.8.1           
   Component:  Compiler          |     Version:  7.4.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by simonmar):

 Thanks Iavor.  I just skimmed that thread.  Your `static_wrapper` idea is
 indeed similar, but not quite the same.  The proposed extension here
 differs from `static_wrapper` in two ways:

  * It doesn't have an implicit `StablePtr` argument built-in
  * It doesn't imply the creation of a C symbol

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



More information about the Glasgow-haskell-bugs mailing list