formatting

Combinator-based type-safe formatting (like printf() or FORMAT)

Version on this page:6.3.6
LTS Haskell 16.3:6.3.7
Stackage Nightly 2020-06-29:6.3.7
Latest on Hackage:6.3.7

See all snapshots formatting appears in

BSD-3-Clause licensed by Chris Done, Shachaf Ben-Kiki, Martijn van Steenbergen, Mike Meyer, Bryan O'Sullivan
Maintained by [email protected]

Module documentation for 6.3.6

This version can be pinned in stack with:[email protected]:adc83755b396ad98c83602e5dae89e3d9be9723b986a6eed7e61ad6cb2f00700,1742

Combinator-based type-safe formatting (like printf() or FORMAT), modelled from the HoleyMonoids package.

Changes

6.3.6

  • Bring back int :: Integral a => Format r (a -> r)

6.3.5

  • Avoid pointless conversions on Float/Double.

6.3.3

  • The Data.Text.Format hierarchy was reexported as Formatting.Internal.Raw.

6.3.1

  • Proper GHC 7.10 -> GHC 8.4 support

6.3.0

6.2.5

  • Changed microseconds to display as “us” to avoid unicode issues.

6.2.1

  • Added bytesDecimal

6.2.0

  • Dropped Holey/HoleyT in favour of simpler Format type.
  • Added Monoid instance.
  • Added back Category instance.
  • Dropped Functor instance.

6.1.1

  • Add support for GHC 7.10 (time update).

6.1.0

  • Add formatter for TimeSpec.

6.0.0

  • Changed the type of Format. Now you write Format r (a -> r) instead of Format a.
  • Add formatToString function.