[project @ 2001-05-31 13:50:44 by simonmar]
authorsimonmar <unknown>
Thu, 31 May 2001 13:50:44 +0000 (13:50 +0000)
committersimonmar <unknown>
Thu, 31 May 2001 13:50:44 +0000 (13:50 +0000)
correct mistake in the documentation of index<blah>Array# and
index<blah>OffAddr#.  The documentation on primitives is all wildly
out of date in other ways, though.

ghc/docs/users_guide/primitives.sgml

index 2fe9df7..9f2a3e3 100644 (file)
@@ -792,7 +792,8 @@ array.
 </para>
 
 <para>
-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):
 
 <programlisting>
 indexCharArray#   :: ByteArray# -> Int# -> Char#