[GHC] #10505: more specific types in the generated *_stub.h files
GHC
ghc-devs at haskell.org
Wed Jun 10 13:18:18 UTC 2015
#10505: more specific types in the generated *_stub.h files
-------------------------------------+-------------------------------------
Reporter: imz | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (FFI) | Version: 7.6.1
Resolution: | Keywords:
Operating System: Linux | Architecture:
Type of failure: Other | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: #2979, #8222 | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by imz):
The same problem and wish as mine are illustrated in
http://stackoverflow.com/q/23629000/94687 by an attempt to use a Haskell
function on Strings .
The solutions so far:
Either manual editing of the `.h` file (which may result in
inconsistencies with the real code, and which is additional burden), or
casting in the C code (which opens the door wide for inconsistencies with
the real Haskell code).
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10505#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list