#8296: Patch: new primops for byte range copies ByteArray# <-> Addr# -------------------------------------+------------------------------------ Reporter: duncan | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 7.6.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by duncan): On reflection, there's probably no harm in leaving the primops as `State# s`. It's vaguely plausible it could be useful in a context like repa/dph which use `Addr#`s pointing into pinned `ByteArray#`s. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8296#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler