summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/prelude/primops.txt.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 533d198546..f1ee3b36b0 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -1440,7 +1440,8 @@ primop CopyAddrToByteArrayOp "copyAddrToByteArray#" GenPrimOp
primop SetByteArrayOp "setByteArray#" GenPrimOp
MutableByteArray# s -> Int# -> Int# -> Int# -> State# s -> State# s
- {Set the range of the MutableByteArray# to the specified character.}
+ {{\tt setByteArray# ba off len c} sets the byte range {\tt [off, off+len]} of
+ the {\tt MutableByteArray#} to the byte {\tt c}.}
with
has_side_effects = True
code_size = { primOpCodeSizeForeignCall + 4 }