packages feed

collect-errors 0.1.2.0 → 0.1.3.0

raw patch · 4 files changed

+11/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Numeric.CollectErrors: type CanTakeCNErrors = CanTakeErrors NumErrors
+ Numeric.CollectErrors.Type: type CanTakeCNErrors = CanTakeErrors NumErrors

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for collect-errors +## v0.1.3.0++* Add CanTakeCNErrors type shortcut+ ## v0.1.2.0  * Add CanTakeErrors type class and liftTakeErrors function
collect-errors.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 9a5c7d7488a22cd99bc416d26c4ed4d2d2e8f07224b622d5cec563fcffc839d2+-- hash: bf4e63bbbe03485de658b13bfce7db0642c6c9b74b8c5714f559d7b509c4506f  name:           collect-errors-version:        0.1.2.0+version:        0.1.3.0 synopsis:       Error monad with a Float instance description:    Please see the README on GitHub at <https://github.com/michalkonecny/collect-errors#readme> category:       Math
src/Numeric/CollectErrors.hs view
@@ -6,6 +6,7 @@ , noValueNumErrorCertain, noValueNumErrorPotential , removeValueErrorCertain, removeValueErrorPotential , prependErrorCertain, prependErrorPotential+, CanTakeCNErrors   -- ** Applicable general collect-error utilities , noValue , removeValue
src/Numeric/CollectErrors/Type.hs view
@@ -2,6 +2,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE ConstraintKinds #-} module Numeric.CollectErrors.Type   where@@ -13,7 +14,7 @@ import qualified Data.Set as Set  import Control.CollectErrors-    ( CanTestErrorsCertain(..), CollectErrors, noValue, removeValue, prependErrors, liftCE, lift2CE, lift1TCE, liftT1CE, unCollectErrors, CanTestErrorsPresent  )+    ( CanTestErrorsCertain(..), CollectErrors, noValue, removeValue, prependErrors, liftCE, lift2CE, lift1TCE, liftT1CE, unCollectErrors, CanTestErrorsPresent, CanTakeErrors  )  cn :: v -> CN v cn = pure@@ -89,3 +90,5 @@ lift1TCN = lift1TCE liftT1CN  :: (a -> b -> (CN c)) -> a -> (CN b) -> (CN c) liftT1CN = liftT1CE++type CanTakeCNErrors = CanTakeErrors NumErrors