[GHC] #10744: Allow oneShot to work with unboxed types

GHC ghc-devs at haskell.org
Fri Aug 7 08:27:57 UTC 2015


#10744: Allow oneShot to work with unboxed types
-------------------------------------+-------------------------------------
        Reporter:  akio              |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.2
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by nomeata):

 Interestingly, I cannot even make GHC mark such a thunk as a `\s` closure
 in the STG output (which is what we are looking for, right?).

 Anyways, I’ll prepare a patch to make `oneShot` open-kinded, and also
 update the docs.

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


More information about the ghc-tickets mailing list