Skip to content

Commit 02a9724

Browse files
committed
Manual typos corrections (detected with typos)
The typos tool cannot --write-changes when the fix is ambigous. These need manual fixes: - Typo -expections - Typo ths - Typo ot - Typo dependend
1 parent fcf6bd0 commit 02a9724

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cabal/src/Distribution/PackageDescription/Check/Common.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ partitionDeps ads ns ds = do
116116
-- for important dependencies like base).
117117
checkPVP
118118
:: Monad m
119-
=> (String -> PackageCheck) -- Warn message dependend on name
119+
=> (String -> PackageCheck) -- Warn message depends on name
120120
-- (e.g. "base", "Cabal").
121121
-> [Dependency]
122122
-> CheckM m ()

Cabal/src/Distribution/Simple/Program/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ data ConfiguredProgram = ConfiguredProgram
143143
, programMonitorFiles :: [FilePath]
144144
-- ^ In addition to the 'programLocation' where the program was found,
145145
-- these are additional locations that were looked at. The combination
146-
-- of ths found location and these not-found locations can be used to
146+
-- of this found location and these not-found locations can be used to
147147
-- monitor to detect when the re-configuring the program might give a
148148
-- different result (e.g. found in a different location).
149149
}

Cabal/src/Distribution/Simple/Utils.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ die' verbosity msg = withFrozenCallStack $ do
388388
=<< pure . addErrorPrefix
389389
=<< prefixWithProgName msg
390390

391-
-- Type which will be a wrapper for cabal -expections and cabal-install exceptions
391+
-- Type which will be a wrapper for cabal -exceptions and cabal-install exceptions
392392
data VerboseException a = VerboseException CallStack POSIXTime Verbosity a
393393
deriving (Show, Typeable)
394394

Cabal/src/Distribution/Utils/IOData.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ instance KnownIODataMode LBS.ByteString where
8080

8181
-- | 'IOData' Wrapper for 'System.IO.hPutStr' and 'System.IO.hClose'
8282
--
83-
-- This is the dual operation ot 'hGetIODataContents',
83+
-- This is the dual operation to 'hGetIODataContents',
8484
-- and consequently the handle is closed with `hClose`.
8585
--
8686
-- /Note:/ this performs lazy-IO.

0 commit comments

Comments
 (0)