packages feed

category-printf 0.1.1.0 → 0.1.1.1

raw patch · 2 files changed

+14/−5 lines, 2 filesdep ~bytestringdep ~textPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: bytestring, text

API changes (from Hackage documentation)

- Control.Category.Printf: instance (a ~ b, IsString s, Monoid s) => IsString (Cokleisli ((->) s) a b)
+ Control.Category.Printf: instance (a GHC.Types.~ b, Data.String.IsString s, GHC.Base.Monoid s) => Data.String.IsString (Control.Comonad.Cokleisli ((->) s) a b)
- Control.Category.Printf: c :: (Monoid m) => m -> Format m a a
+ Control.Category.Printf: c :: Monoid m => m -> Format m a a
- Control.Category.Printf: spliceWith :: (Monoid m) => (t -> m) -> Format m a (t -> a)
+ Control.Category.Printf: spliceWith :: Monoid m => (t -> m) -> Format m a (t -> a)
- Control.Category.Printf: type Format m = Cokleisli ((->) m)
+ Control.Category.Printf: type Format m = Cokleisli (->) m

Files

category-printf.cabal view
@@ -1,5 +1,8 @@+-- Constraint on the version of Cabal needed to build this package.+cabal-version:       >=1.10+ name:                category-printf-version:             0.1.1.0+version:             0.1.1.1 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@@ -14,11 +17,14 @@ license-file:        LICENSE author:              Cale Gibbard maintainer:          cgibbard@gmail.com+homepage:            https://github.com/cgibbard/category-printf+bug-reports:         https://github.com/cgibbard/category-printf/issues category:            Text build-type:          Simple --- Constraint on the version of Cabal needed to build this package.-cabal-version:       >=1.10+source-repository head+  type: git+  location: https://github.com/cgibbard/category-printf.git  library   exposed-modules:     Control.Category.Printf,@@ -29,6 +35,9 @@                        Control.Category.Printf.ByteString.Lazy      other-extensions:    OverloadedStrings, FlexibleInstances, TypeFamilies-  build-depends:       base ==4.*, comonad >=5 && <5.1, text >=1.1 && <1.3, bytestring >=0.10 && <0.11+  build-depends:       base >=4 && <5,+                       comonad >=5 && <5.1,+                       text >=1.1 && <2.2,+                       bytestring >=0.10 && <0.13   hs-source-dirs:      src   default-language:    Haskell2010
src/Control/Category/Printf.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings, FlexibleInstances, TypeFamilies, RankNTypes #-}+{-# LANGUAGE FlexibleInstances, TypeOperators #-}  module Control.Category.Printf    (