Fix documentation bug: newArray# accepts word count, not byte count.
[ghc-hetmet.git] / compiler / prelude / primops.txt.pp
index c5dad9b..3747b54 100644 (file)
@@ -578,7 +578,7 @@ primtype MutableArray# s a
 
 primop  NewArrayOp "newArray#" GenPrimOp
    Int# -> a -> State# s -> (# State# s, MutableArray# s a #)
-   {Create a new mutable array of specified size (in bytes),
+   {Create a new mutable array of specified size (in words),
     in the specified state thread,
     with each element containing the specified initial value.}
    with