Foreign.Marshal.Utils.{copyBytes or moveBytes} documentation incorrect
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).
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |