diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2017-09-21 23:30:05 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2017-09-22 00:24:25 +0200 |
commit | feac0a3bc69fd376231aa3c83d031c131156ddb9 (patch) | |
tree | ad94a04d30869efe5a9d021f3fe2923269b5bfbd /ghc/Main.hs | |
parent | 9aa73892e10e90a1799b9277da593e816a827364 (diff) | |
download | haskell-feac0a3bc69fd376231aa3c83d031c131156ddb9.tar.gz |
Reexport Semigroup's <> operator from Prelude (#14191)
This completes the 2nd phase of the Semigroup=>Monoid Proposal (SMP)
initiated in 8ae263ceb3566a7c82336400b09cb8f381217405.
This updates a couple submodules to address <> naming clashes.
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r-- | ghc/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs index a75aba3e97..7c406e4988 100644 --- a/ghc/Main.hs +++ b/ghc/Main.hs @@ -809,7 +809,7 @@ dumpFastStringStats dflags = do -- the "z-encoded" total. putMsg dflags msg where - x `pcntOf` y = int ((x * 100) `quot` y) <> char '%' + x `pcntOf` y = int ((x * 100) `quot` y) Outputable.<> char '%' countFS :: Int -> Int -> Int -> [[FastString]] -> (Int, Int, Int) countFS entries longest has_z [] = (entries, longest, has_z) |