[GHC] #14375: Implement with# primop
GHC
ghc-devs at haskell.org
Tue Nov 27 16:05:38 UTC 2018
#14375: Implement with# primop
-------------------------------------+-------------------------------------
Reporter: simonpj | Owner: bgamari
Type: bug | Status: new
Priority: highest | Milestone: 8.8.1
Component: Compiler | Version: 8.2.1
Resolution: | Keywords: JoinPoints
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #14346 | Differential Rev(s): ​Phab:D4110,
Wiki Page: | Phab:D4189
-------------------------------------+-------------------------------------
Comment (by tdammers):
As briefly touched upon in the HQ meeting: the `T14375-2` test contains a
function `with :: a -> IO () -> IO ()` that's just a lightweight wrapper
for `with#`; do we want to have this `with` function somewhere in the base
libraries, similar to how other primops (e.g. `mkWeak#`) are exposed
through more palatable wrappers (like `mkWeak`)?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14375#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list