formatting

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

Version on this page:6.2.4
LTS Haskell 22.40:7.2.0
Stackage Nightly 2024-11-05:7.2.0
Latest on Hackage:7.2.0

See all snapshots formatting appears in

BSD-3-Clause licensed by Chris Done, Shachaf Ben-Kiki, Martijn van Steenbergen, Mike Meyer
Maintained by [email protected]
This version can be pinned in stack with:formatting-6.2.4@sha256:664bbcf47143d3eb8cf7c8bef5b92c16e82bcb170e441f3a9e081c7d40e5d8ee,1348

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

Changes

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.