summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/IO/Exception.hs
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2010-03-01 22:04:42 +0000
committerBas van Dijk <v.dijk.bas@gmail.com>2010-03-01 22:04:42 +0000
commitda9c3f77f7cecf58b2a770f264f65859e22c0116 (patch)
treec86730534f0826f55b8801cd501bd8fbac595db2 /libraries/base/GHC/IO/Exception.hs
parent4cd0295af1f41acc1aa0348e6de9f11a0e0e35e0 (diff)
downloadhaskell-da9c3f77f7cecf58b2a770f264f65859e22c0116.tar.gz
Documentation fixes in Control.Exception
Diffstat (limited to 'libraries/base/GHC/IO/Exception.hs')
-rw-r--r--libraries/base/GHC/IO/Exception.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/base/GHC/IO/Exception.hs b/libraries/base/GHC/IO/Exception.hs
index ce05a5433a..b8c90838b8 100644
--- a/libraries/base/GHC/IO/Exception.hs
+++ b/libraries/base/GHC/IO/Exception.hs
@@ -64,7 +64,7 @@ blockedIndefinitelyOnMVar = toException BlockedIndefinitelyOnMVar
-----
--- |The thread is awiting to retry an STM transaction, but there are no
+-- |The thread is awaiting to retry an STM transaction, but there are no
-- other references to any @TVar@s involved, so it can't ever continue.
data BlockedIndefinitelyOnSTM = BlockedIndefinitelyOnSTM
deriving Typeable
@@ -91,8 +91,7 @@ instance Show Deadlock where
-----
--- |There are no runnable threads, so the program is deadlocked.
--- The @Deadlock@ exception is raised in the main thread only.
+-- |'assert' was applied to 'False'.
data AssertionFailed = AssertionFailed String
deriving Typeable