summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmily Bourke <undergroundquizscene@gmail.com>2022-06-29 08:23:13 +0000
committerEmily Bourke <undergroundquizscene@gmail.com>2022-06-29 08:23:13 +0000
commitbbe6f10eb46ea23607974abd1a96917699350b91 (patch)
tree39266c47d372ba65c67533ab0039b41ec93558ca
parent0e22f16cda8468256b4c5d04214276be30e23faa (diff)
downloadhaskell-bbe6f10eb46ea23607974abd1a96917699350b91.tar.gz
Tiny tweak to `IOPort#` documentation
The exclamation mark and bracket don’t seem to make sense here. I’ve looked through the history, and I don’t think they’re deliberate – possibly a copy-and-paste error.
-rw-r--r--compiler/GHC/Builtin/primops.txt.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Builtin/primops.txt.pp b/compiler/GHC/Builtin/primops.txt.pp
index 1e66fd2f2b..23a9b75706 100644
--- a/compiler/GHC/Builtin/primops.txt.pp
+++ b/compiler/GHC/Builtin/primops.txt.pp
@@ -2781,7 +2781,7 @@ section "Synchronized I/O Ports"
------------------------------------------------------------------------
primtype IOPort# s a
- { A shared I/O port is almost the same as a 'MVar#'!).
+ { A shared I/O port is almost the same as an 'MVar#'.
The main difference is that IOPort has no deadlock detection or
deadlock breaking code that forcibly releases the lock. }