[GHC] #9038: Foreign calls don't make their arguments look strict

GHC ghc-devs at haskell.org
Mon Oct 20 09:30:08 UTC 2014


#9038: Foreign calls don't make their arguments look strict
-------------------------------------+-------------------------------------
              Reporter:  tibbe       |            Owner:
                  Type:  bug         |           Status:  infoneeded
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.2
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:  1592
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 The notation is `<stricness, usage>`.  SO `<L, anything>` means a lazy
 arg.  So `add3` takes its argument boxed.

 What I'm missing is a (preferably small) test case in which something
 isn't unboxed that should be.  The one you gave me in comment:4 appears to
 be fine.  Do you have in mind another one that isn't?

 I suppose I could install ekg etc, if that is necessary.

 Simon

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


More information about the ghc-tickets mailing list