Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#1203 closed bug (fixed)

Foreign.Marshal.Utils.{copyBytes or moveBytes} documentation incorrect

Reported by: Isaac Dupree <id@…> Owned by:
Priority: normal Milestone:
Component: libraries/base Version: 6.6
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


copyBytes "copies the given number of _bytes_"

moveBytes "copies the given number of _elements_"

e.g. seen at

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).

Change History (4)

comment:1 Changed 9 years ago by igloo

  • Resolution set to fixed
  • Status changed from new to closed

You are right, it is bytes. I've fixed the 6.6 branch and HEAD. Thanks for the report!

comment:2 Changed 7 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:3 Changed 7 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple

comment:4 Changed 6 years ago by simonmar

  • difficulty changed from Easy (1 hr) to Easy (less than 1 hour)
Note: See TracTickets for help on using tickets.