polysemy-log 0.2.2.3 → 0.2.2.4
raw patch · 4 files changed
+13/−13 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Changelog.md +0/−9
- changelog.md +9/−0
- lib/Polysemy/Log/Conc.hs +2/−2
- polysemy-log.cabal +2/−2
− Changelog.md
@@ -1,9 +0,0 @@-# 0.2.1.0-* add naive stderr interpreters for `DataLog` and `Log`.--# 0.2.0.0--* `DataLog` got a second constructor, `Local`. It takes a higher-order `Sem` and a transformation function, the latter- of which is applied to all messages logged within the former.- This allows context manipulation for blocks of code.-* `interceptDataLogConc` adds support for concurrent processing of log messages to any interpretation of `DataLog`.
+ changelog.md view
@@ -0,0 +1,9 @@+# 0.2.1.0+* add naive stderr interpreters for `DataLog` and `Log`.++# 0.2.0.0++* `DataLog` got a second constructor, `Local`. It takes a higher-order `Sem` and a transformation function, the latter+ of which is applied to all messages logged within the former.+ This allows context manipulation for blocks of code.+* `interceptDataLogConc` adds support for concurrent processing of log messages to any interpretation of `DataLog`.
lib/Polysemy/Log/Conc.hs view
@@ -4,13 +4,13 @@ import Polysemy (interceptH, runT, subsume) import Polysemy.Async (Async, async) import Polysemy.Conc (Queue, Race, interpretQueueTBM)-import qualified Polysemy.Conc.Data.Queue as Queue+import qualified Polysemy.Conc.Queue as Queue import Polysemy.Conc.Queue.Result (resultToMaybe) import Polysemy.Internal.Tactics (liftT) import Polysemy.Resource (Resource) import qualified Polysemy.Log.Data.DataLog as DataLog-import Polysemy.Log.Data.DataLog (DataLog(DataLog, Local))+import Polysemy.Log.Data.DataLog (DataLog (DataLog, Local)) -- |Intercept 'DataLog' for concurrent processing. -- This does not send any action to the ultimate interpreter but writes all log messages to the provided queue.
polysemy-log.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: polysemy-log-version: 0.2.2.3+version: 0.2.2.4 synopsis: Polysemy Effects for Logging description: See <https://hackage.haskell.org/package/polysemy-log/docs/Polysemy-Log.html> category: Logging@@ -19,7 +19,7 @@ build-type: Simple extra-source-files: readme.md- Changelog.md+ changelog.md source-repository head type: git