Commit 5ddec445 authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Fix documentation bug: newArray# accepts word count, not byte count.

parent 701cf571
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment