formatting

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

Version on this page:6.2.2
LTS Haskell 10.3:6.2.5
Stackage Nightly 2018-01-18:6.3.0
Latest on Hackage:6.3.0

See all snapshots formatting appears in

BSD3 licensed by Chris Done, Shachaf Ben-Kiki, Martijn van Steenbergen, Mike Meyer, Bryan O'Sullivan

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

Changes

6.3.0

  • Folded the text-format package into this package, removed the double-conversion dependency. Lost the following functions in this: prec expt
  • Added a test suite with regression tests: Fixed: https://github.com/chrisdone/formatting/issues/31 Fixed: https://github.com/chrisdone/formatting/issues/28 * Fixed: https://github.com/bos/text-format/issues/18

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.
comments powered byDisqus