From: simonmar Date: Thu, 31 May 2001 13:50:44 +0000 (+0000) Subject: [project @ 2001-05-31 13:50:44 by simonmar] X-Git-Tag: Approximately_9120_patches~1826 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=03ac9a62fec532e0f4c594740338198f3a0c111a;p=ghc-hetmet.git [project @ 2001-05-31 13:50:44 by simonmar] correct mistake in the documentation of indexArray# and indexOffAddr#. The documentation on primitives is all wildly out of date in other ways, though. --- diff --git a/ghc/docs/users_guide/primitives.sgml b/ghc/docs/users_guide/primitives.sgml index 2fe9df7..9f2a3e3 100644 --- a/ghc/docs/users_guide/primitives.sgml +++ b/ghc/docs/users_guide/primitives.sgml @@ -792,7 +792,8 @@ array. -Immutable byte arrays are straightforward to index (all indices in bytes): +Immutable byte arrays are straightforward to index (all indices are in +units of the size of the object being read): indexCharArray# :: ByteArray# -> Int# -> Char#