[GHC] #13908: sameMutableArray equivalent for Array
GHC
ghc-devs at haskell.org
Sat Jul 1 16:14:26 UTC 2017
#13908: sameMutableArray equivalent for Array
-------------------------------------+-------------------------------------
Reporter: winter | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | 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 bgamari):
I believe that should be fine. Afterall, `sameMutableArray#` is really
just a pointer comparison.
However, you are right that we probably ought to have a primop for this.
I'm not sure why this was overlooked.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13908#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list