category-printf: Highbrow approach to type-safe printf format specifications.

[ bsd3, library, text ] [ Propose Tags ]

We use the co-Kleisli category for the comonad of functions out of a fixed monoid to implement a generic combinator library for type-safe format specifications. Works with pretty much anything that's a monoid, with specific support for String, Text (strict/lazy), and ByteString (strict/lazy). Credit to Daniel Patterson for introducing me to something that looked just enough like it ought to be the composition for a category, and Ryan Trinkle for the IsString instance. :)


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,
Dependencies base (>=4.7 && <4.8), bytestring (>=0.10 && <0.11), comonad (>=5 && <5.1), text (>=1.1 && <1.2) [details]
License BSD-3-Clause
Author Cale Gibbard
Category Text
Uploaded by CaleGibbard at 2016-04-30T19:05:08Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2572 total (19 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]