Skip to content

Commit

Permalink
removed mappend
Browse files Browse the repository at this point in the history
  • Loading branch information
BebeSparkelSparkel committed Jan 19, 2024
1 parent 8479796 commit 67c4cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/ByteString/Builder/RealFloat.hs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ formatFloating fmt f = case fmt of
FStandard {..} -> specialsOr specials $ std precision
where
sci eE = BP.primBounded (R.toCharsScientific @a Proxy eE sign m e) ()
std precision = printSign f `mappend` showStandard (toWord64 m) e' precision
std precision = printSign f <> showStandard (toWord64 m) e' precision
e' = R.toInt e + R.decimalLength m
R.FloatingDecimal m e = toD @a mantissa expo
(sign, mantissa, expo) = R.breakdown f
Expand Down

0 comments on commit 67c4cb4

Please sign in to comment.