
#9038: Foreign calls don't make their arguments look strict -------------------------------------+------------------------------------ Reporter: tibbe | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: 1592 -------------------------------------+------------------------------------ Changes (by tibbe): * related: => 1592 Comment: #1592 looks related and I think I understanding the reasoning (the earlier `hs_lock` call might exit the program and hence the argument won't be used). I'm fine with this behavior but it'd be nice if I was able to tell the compiler that the function is strict. Adding bang patterns on the arguments has no effect at all. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9038#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler