summaryrefslogtreecommitdiff
path: root/compiler/prelude/PrimOp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/prelude/PrimOp.hs')
-rw-r--r--compiler/prelude/PrimOp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/prelude/PrimOp.hs b/compiler/prelude/PrimOp.hs
index 81220140bb..c51304b85d 100644
--- a/compiler/prelude/PrimOp.hs
+++ b/compiler/prelude/PrimOp.hs
@@ -363,7 +363,7 @@ data dependencies of the state token to enforce write-effect ordering
---------- can_fail ----------------------------
A primop "can_fail" if it can fail with an *unchecked* exception on
some elements of its input domain. Main examples:
- division (fails on zero demoninator)
+ division (fails on zero denominator)
array indexing (fails if the index is out of bounds)
An "unchecked exception" is one that is an outright error, (not