[GHC] #1203: Foreign.Marshal.Utils.{copyBytes or moveBytes}
documentation incorrect
GHC
trac at galois.com
Tue Mar 6 17:50:58 EST 2007
#1203: Foreign.Marshal.Utils.{copyBytes or moveBytes} documentation incorrect
--------------------------------------------------------------+-------------
Reporter: Isaac Dupree <id at isaac.cedarswampstudios.org> | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.6
Severity: minor | Keywords:
Difficulty: Easy (1 hr) | Testcase:
Architecture: Unknown | Os: Unknown
--------------------------------------------------------------+-------------
copyBytes "copies the given number of _bytes_"
moveBytes "copies the given number of _elements_"
e.g. seen at
http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-
Marshal-Utils.html#v%3AcopyBytes
But they actually do (approximately) the same thing! I think it must
really be bytes, not elements - after all, they don't even require
(Storable a).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1203>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list