
#14731: Document alignment & underlying size invariants for array types in GHC.Prim -------------------------------------+------------------------------------- Reporter: jberryman | Owner: (none) Type: task | Status: new Priority: normal | Milestone: Component: Documentation | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #2917 #9806 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by jberryman): I updated the ticket to also mention the property that ByteArray have underlying size evenly divisible by word-size. It's not clear if that's something GHC wants to commit to as an invariant, e.g. I was just reading #11312 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14731#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler