[GHC] #9220: type roles for unboxed arrays

GHC ghc-devs at haskell.org
Tue Nov 11 07:21:15 UTC 2014


#9220: type roles for unboxed arrays
-------------------------------------+-------------------------------------
              Reporter:  rwbarton    |            Owner:  goldfire
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Core        |          Version:  7.8.1
  Libraries                          |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:              |       Difficulty:  Unknown
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by carter):

 unboxed should DEFINITELY have representational (because the heap
 representation of a newtyped value is guaranteed to be the saem). I think
 thats pretty clearly what Reid was articulating earlier, and that Storable
 arrays (because of the possible non uniform storable sizes) *might* be a
 candidate wrt off heap data, BUT that the argument might be weaker for
 that. Though i could be recalling this whole thing wrong.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9220#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list