Skip to content

Commit

Permalink
Fix whitespace in *.hs sources
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Mar 16, 2024
1 parent 2ea012e commit e420bf2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cabal-described/src/Distribution/Described.hs
Original file line number Diff line number Diff line change
Expand Up @@ -591,4 +591,4 @@ instance Described CompatLicenseFile where
describe _ = describe ([] :: [Token])

instance Described CompatFilePath where
describe _ = describe ([] :: [Token])
describe _ = describe ([] :: [Token])
2 changes: 1 addition & 1 deletion Cabal-described/src/Distribution/Utils/CharSet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ upper = foldl' (flip insert) empty [ c | c <- [ minBound .. maxBound ], isUpper
-- $setup
-- Use -XOverloadedStrings to avoid the error: Couldn't match type ‘[Char]’ with ‘CharSet’
-- >>> :set -XOverloadedStrings
-- >>> import Prelude (length)
-- >>> import Prelude (length)
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,4 @@ options_9_0_all =
options_9_0_affects :: [String]
options_9_0_affects =
[ "-fcmm-static-pred"
]
]
2 changes: 1 addition & 1 deletion bootstrap/src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ main2 meta plan = do
case P.uPkgSrc unit of
Just (P.RepoTarballPackage (P.RepoSecure _uri)) ->
return Hackage
Just (P.LocalUnpackedPackage _path) ->
Just (P.LocalUnpackedPackage _path) ->
return Local
pkgsrc ->
die $ "package source not supported: " ++ show pkgsrc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,4 +357,4 @@ showConflictingDep (ConflictingDep dr (PkgComponent qpn comp) ci) =
-- >>> let v0 = POption (I (mkVersion [0]) InRepo) Nothing
-- >>> let v1 = POption (I (mkVersion [1]) InRepo) Nothing
-- >>> let i0 = POption (I (mkVersion [0]) (Inst $ mkUnitId "foo-bar-0-inplace")) Nothing
-- >>> let i1 = POption (I (mkVersion [1]) (Inst $ mkUnitId "foo-bar-1-inplace")) Nothing
-- >>> let i1 = POption (I (mkVersion [1]) (Inst $ mkUnitId "foo-bar-1-inplace")) Nothing

0 comments on commit e420bf2

Please sign in to comment.