category-printf 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Control.Category.Printf: skip :: Monoid m => Format m (t -> a) (t' -> t -> a)
+ Control.Category.Printf: skip :: Monoid m => Format m a (t -> a)
Files
category-printf.cabal view
@@ -1,5 +1,5 @@ name: category-printf-version: 0.1.0.1+version: 0.1.0.2 synopsis: Highbrow approach to type-safe printf format specifications. description: We use the co-Kleisli category for the comonad of functions out of a fixed monoid to implement a generic
src/Control/Category/Printf.hs view
@@ -135,7 +135,7 @@ swap = arr (\k x y -> k y x) -- | Skip the next argument on the stack.-skip :: Monoid m => Format m (t -> a) (t' -> t -> a)+skip :: Monoid m => Format m a (t -> a) skip = arr (\k x -> k) -- | Apply a function to the argument on the top of the stack.