packages feed

polysemy-conc 0.5.1.0 → 0.5.1.1

raw patch · 3 files changed

+9/−17 lines, 3 filesdep −string-interpolatedep ~data-defaultdep ~polysemy-plugindep ~reludePVP ok

version bump matches the API change (PVP)

Dependencies removed: string-interpolate

Dependency ranges changed: data-default, polysemy-plugin, relude, torsor

API changes (from Hackage documentation)

Files

lib/Polysemy/Conc/Interpreter/Interrupt.hs view
@@ -12,7 +12,7 @@ import Polysemy.AtomicState (runAtomicStateTVar) import Polysemy.Internal.Tactics (liftT) import Polysemy.Time (Seconds (Seconds))-import System.Posix.Signals (Handler (CatchInfo, CatchInfoOnce, CatchOnce, Catch), SignalInfo, installHandler, keyboardSignal)+import System.Posix.Signals (Handler (Catch, CatchInfo, CatchInfoOnce, CatchOnce), SignalInfo, installHandler, keyboardSignal)  import qualified Polysemy.Conc.Effect.Critical as Critical import Polysemy.Conc.Effect.Critical (Critical)@@ -80,7 +80,7 @@   IO () ->   Sem r () processHandler name thunk = do-  putErr [qt|processing interrupt handler: #{name}|]+  putErr ("processing interrupt handler: " <> name)   embed thunk  execInterrupt ::@@ -117,9 +117,9 @@       Nothing <$ Sync.wait @() (Seconds 1)     kill = do       onQuit desc do-        putErr [qt|killing #{desc}|]+        putErr ("killing " <> desc)         cancel handle-        putErr [qt|killed #{desc}|]+        putErr ("killed " <> desc)         Sync.putBlock ()         pure Nothing 
lib/Polysemy/Conc/Prelude.hs view
@@ -12,9 +12,7 @@  import Control.Exception (try) import Data.Kind (Type)-import qualified Data.String.Interpolate as Interpolate import GHC.Err (undefined)-import Language.Haskell.TH.Quote (QuasiQuoter) import Polysemy (   Effect,   EffectRow,@@ -63,11 +61,6 @@   traceShow,   undefined,   )--qt :: QuasiQuoter-qt =-  Interpolate.i-{-# inline qt #-}  unify :: Either a a -> a unify =
polysemy-conc.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           polysemy-conc-version:        0.5.1.0+version:        0.5.1.1 synopsis:       Polysemy Effects for Concurrency description:    See <https://hackage.haskell.org/package/polysemy-conc/docs/Polysemy-Conc.html> category:       Concurrency@@ -131,17 +131,16 @@       async     , base ==4.*     , containers-    , data-default+    , data-default >=0.2     , polysemy >=1.6     , polysemy-time >=0.1.4-    , relude >=1+    , relude >=0.7     , stm     , stm-chans >=2-    , string-interpolate >=0.2     , template-haskell     , text     , time-    , torsor+    , torsor >=0.1     , unagi-chan >=0.4     , unix   mixins:@@ -228,7 +227,7 @@     , base ==4.*     , polysemy     , polysemy-conc-    , polysemy-plugin+    , polysemy-plugin >=0.4     , polysemy-test     , polysemy-time     , stm