packages feed

formatting 6.3.5 → 6.3.6

raw patch · 4 files changed

+8/−4 lines, 4 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Formatting.Formatters: int :: (Buildable a) => Format r (a -> r)
+ Formatting.Formatters: int :: Integral a => Format r (a -> r)
- Formatting.ShortFormatters: d :: (Buildable a) => Format r (a -> r)
+ Formatting.ShortFormatters: d :: Integral a => Format r (a -> r)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+6.3.6++* Bring back `int :: Integral a => Format r (a -> r)`+ 6.3.5  * Avoid pointless conversions on Float/Double.
formatting.cabal view
@@ -1,5 +1,5 @@ name:                formatting-version:             6.3.5+version:             6.3.6 synopsis:            Combinator-based type-safe formatting (like printf() or FORMAT) description:         Combinator-based type-safe formatting (like printf() or FORMAT), modelled from the HoleyMonoids package. license:             BSD3
src/Formatting/Formatters.hs view
@@ -108,8 +108,8 @@ build = later B.build  -- | Render an integral e.g. 123 -> \"123\", 0 -> \"0\".-int :: (Buildable a) => Format r (a -> r)-int = later B.build+int :: Integral a => Format r (a -> r)+int = base 10  -- | Render some floating point with the usual notation, e.g. 123.32 => \"123.32\" float :: Real a => Format r (a -> r)
src/Formatting/ShortFormatters.hs view
@@ -30,7 +30,7 @@ t = later T.fromLazyText  -- | Render an integral e.g. 123 -> \"123\", 0 -> \"0\".-d :: (Buildable a) => Format r (a -> r)+d :: Integral a => Format r (a -> r) d = int  -- | Render an integer using binary notation. (No leading 0b is