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

[ bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

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 && <5), bytestring (>=0.10 && <0.11), comonad (>=5 && <5.1), text (>=1.1 && <1.3) [details]
License BSD-3-Clause
Author Cale Gibbard
Maintainer cgibbard@gmail.com
Category Text
Uploaded by CaleGibbard at 2016-05-08T11:37:25Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2655 total (9 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]