[GHC] #12011: should runRW# (of GHC.Magic) be reexported by GHC.Exts?

#12011: should runRW# (of GHC.Magic) be reexported by GHC.Exts? -------------------------------------+------------------------------------- Reporter: carter | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: | Version: 8.0.1 libraries/base | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC.Magic says that GHC.Exts should be used instead, but only 'lazy' and 'inline' are rexported there, 'oneshot' and 'runRW#' are both not provided by GHC.Exts is this an oversight or deliberate? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12011 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12011: should runRW# (of GHC.Magic) be reexported by GHC.Exts? -------------------------------------+------------------------------------- Reporter: carter | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): I think it's an oversight for `oneshot`, if someone would like to fix it. Not so sure about `runRW#`. It really is a pretty internal thing; I'm ok with having to import `GHC.Magic` for it. Open to opinions. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12011#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12011: should runRW# (of GHC.Magic) be reexported by GHC.Exts? -------------------------------------+------------------------------------- Reporter: carter | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata):
I think it's an oversight for oneshot, if someone would like to fix it.
Agreed, and fixed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12011#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12011: should runRW# (of GHC.Magic) be reexported by GHC.Exts?
-------------------------------------+-------------------------------------
Reporter: carter | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Joachim Breitner

#12011: should runRW# (of GHC.Magic) be reexported by GHC.Exts?
-------------------------------------+-------------------------------------
Reporter: carter | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 8.2.1
Component: libraries/base | Version: 8.0.1
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by thomie):
* status: new => closed
* resolution: => fixed
* milestone: => 8.2.1
Comment:
commit 763610e990207eaa143856fca411d5ad420651ed
{{{
Author: Ben Gamari
participants (1)
-
GHC