From 03ac9a62fec532e0f4c594740338198f3a0c111a Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 31 May 2001 13:50:44 +0000 Subject: [PATCH] [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. --- ghc/docs/users_guide/primitives.sgml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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# -- 1.7.10.4