transaction 0.1.1.3 → 0.1.1.4
raw patch · 2 files changed
+5/−11 lines, 2 filesdep ~mono-traversablePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: mono-traversable
API changes (from Hackage documentation)
- Data.Transaction: instance Data.Semigroup.Semigroup (Data.Transaction.Transaction a)
+ Data.Transaction: instance GHC.Base.Semigroup (Data.Transaction.Transaction a)
Files
- src/Data/Transaction.hs +3/−9
- transaction.cabal +2/−2
src/Data/Transaction.hs view
@@ -33,21 +33,15 @@ ) where import Prelude hiding- ( all+ ( Foldable(..)+ , all , any , drop , dropWhile , filter- , foldMap- , foldl- , foldl1- , foldr- , foldr1 , head , init , last- , length- , null , repeat , replicate , span@@ -157,7 +151,7 @@ foldl1' _ (TNull ()) = error "Transaction.foldl1': empty transaction" foldl1' f (TVal a next) = foldl' f a next -#if MIN_VERSION_mono_traversable(1,0,2)+#if MIN_VERSION_base(4,11,0) {-# NOINLINE [1] length #-} length :: Transaction a -> Int length t = lenAcc t 0
transaction.cabal view
@@ -1,5 +1,5 @@ name: transaction-version: 0.1.1.3+version: 0.1.1.4 synopsis: Monadic representation of transactions. description: Monadic representation of transactions. Alike `List`, but can be declared with `do` notations.@@ -18,7 +18,7 @@ hs-source-dirs: src exposed-modules: Data.Transaction build-depends: base >= 4.9 && < 5- , mono-traversable >= 1.0.0.1 && < 1.1+ , mono-traversable default-language: Haskell2010 default-extensions: OverloadedStrings , RecordWildCards