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. :)

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1.0
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
Maintainer cgibbard@gmail.com
Category Text
Uploaded by CaleGibbard at 2016-04-30T19:05:08Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2548 total (11 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]