
#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