[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 <mail@…>): In [changeset:"50e70559a0be07e5b836397d4aa8facf180510f9/ghc" 50e70559/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="50e70559a0be07e5b836397d4aa8facf180510f9" Export oneShot from GHC.Exts as suggested by carter in #12011. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12011#comment:3> 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: 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 <bgamari.foss@gmail.com> Date: Wed May 4 18:30:51 2016 +0200 base: Export runRW# from GHC.Exts Seems like this should be available in GHC.Exts. Thanks for @carter for pointing this out. Test Plan: Validate Reviewers: rwbarton, hvr, austin Reviewed By: austin Subscribers: thomie, carter Differential Revision: https://phabricator.haskell.org/D2171 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12011#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC