summaryrefslogtreecommitdiff
path: root/libraries/base
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2022-09-14 16:23:48 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-09-14 22:40:09 -0400
commitdf04d6ec6a543d8bf1b953cf27c26e63ec6aab25 (patch)
treee3a3e88e10b4da7e57e73755147dd7928710ff17 /libraries/base
parentbdd61cd63dff07a78b1364988b5a140806f79e38 (diff)
downloadhaskell-df04d6ec6a543d8bf1b953cf27c26e63ec6aab25.tar.gz
Fix typos
Diffstat (limited to 'libraries/base')
-rw-r--r--libraries/base/Data/Typeable/Internal.hs2
-rw-r--r--libraries/base/GHC/IOPort.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index 69530c911d..9bcc23daf5 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -214,7 +214,7 @@ data TypeRep a where
, trAppKind :: !(TypeRep k2) } -- See Note [Kind caching]
-> TypeRep (a b)
- -- | @TrFun fpr m a b@ represents a function type @a # m -> b@. We use this for
+ -- | @TrFun fpr m a b@ represents a function type @a % m -> b@. We use this for
-- the sake of efficiency as functions are quite ubiquitous.
TrFun :: forall (m :: Multiplicity) (r1 :: RuntimeRep) (r2 :: RuntimeRep)
(a :: TYPE r1) (b :: TYPE r2).
diff --git a/libraries/base/GHC/IOPort.hs b/libraries/base/GHC/IOPort.hs
index 46a553ca51..101f9b34fa 100644
--- a/libraries/base/GHC/IOPort.hs
+++ b/libraries/base/GHC/IOPort.hs
@@ -96,7 +96,7 @@ newIOPort value =
writeIOPort ioport value >>
return ioport
--- |Atomically read the the contents of the 'IOPort'. If the 'IOPort' is
+-- |Atomically read the contents of the 'IOPort'. If the 'IOPort' is
-- currently empty, 'readIOPort' will wait until it is full. After a
-- 'readIOPort', the 'IOPort' is left empty.
--