co-log-polysemy 0.0.1.2 → 0.0.1.3
raw patch · 5 files changed
+38/−24 lines, 5 filesdep ~basedep ~co-log-coredep ~polysemyPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, co-log-core, polysemy
API changes (from Hackage documentation)
Files
- CHANGELOG.md +7/−0
- README.md +6/−4
- co-log-polysemy.cabal +11/−14
- src/Colog/Polysemy.hs +7/−3
- src/Colog/Polysemy/Effect.hs +7/−3
CHANGELOG.md view
@@ -3,6 +3,13 @@ `co-log-polysemy` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.0.1.3 — Nov 2, 2021++* [#223](https://github.com/kowainik/co-log/pulls/223):+ Support GHC-9.0.1.+* Allow `polysemy-1.6.0.0`.+* Bump up lower bound for `co-log-core` to `0.3.0.0`.+ ## 0.0.1.2 — Apr 18, 2020 * [#186](https://github.com/kowainik/co-log/issues/186):
README.md view
@@ -1,9 +1,11 @@ # co-log ++ [](https://github.com/kowainik/co-log/actions) [](https://travis-ci.org/kowainik/co-log)-[](https://ci.appveyor.com/project/kowainik/co-log)-[](https://github.com/kowainik/co-log/blob/master/LICENSE)+[](https://ci.appveyor.com/project/kowainik/co-log)+[](https://github.com/kowainik/co-log/blob/main/LICENSE) | | | | |@@ -45,8 +47,8 @@ created the tutorial series which introduces the main concepts behind `co-log` smoothly: -* [Intro: Using `LogAction`](https://github.com/kowainik/co-log/blob/master/co-log/tutorials/1-intro/Intro.md)-* [Using custom monad that stores `LogAction` inside its environment](https://github.com/kowainik/co-log/blob/master/co-log/tutorials/2-custom/Custom.md)+* [Intro: Using `LogAction`](https://github.com/kowainik/co-log/blob/main/co-log/tutorials/1-intro/Intro.md)+* [Using custom monad that stores `LogAction` inside its environment](https://github.com/kowainik/co-log/blob/main/co-log/tutorials/2-custom/Custom.md) `co-log` also cares about concurrent logging. For this purpose we have the `concurrent-playground` executable where we experiment with different multithreading scenarios to test the library's behavior.
co-log-polysemy.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: co-log-polysemy-version: 0.0.1.2+version: 0.0.1.3 synopsis: Composable Contravariant Comonadic Logging Library description: Implementation of the [co-log](http://hackage.haskell.org/package/co-log-core)@@ -15,13 +15,13 @@ . * [co-log](http://hackage.haskell.org/package/co-log) -homepage: https://github.com/kowainik/co-log-bug-reports: https://github.com/kowainik/co-log/issues+homepage: https://github.com/co-log/co-log-polysemy+bug-reports: https://github.com/co-log/co-log-polysemy/issues license: MPL-2.0 license-file: LICENSE author: Dmitrii Kovanikov maintainer: Kowainik <xrom.xkov@gmail.com>-copyright: 2019-2020 Kowainik+copyright: 2019-2020 Kowainik, 2021 Co-Log category: Logging, Contravariant, Comonad, Effects build-type: Simple stability: provisional@@ -29,19 +29,16 @@ README.md tested-with: GHC == 8.4.4 GHC == 8.6.5- GHC == 8.8.3- GHC == 8.10.1+ GHC == 8.8.4+ GHC == 8.10.7+ GHC == 9.0.1 source-repository head type: git- location: https://github.com/kowainik/co-log.git+ location: https://github.com/co-log/co-log-polysemy.git common common-options- build-depends: base >= 4.10.1.0 && < 4.15-- -- 8.2 lacks <>- if impl(ghc < 8.4)- buildable: False+ build-depends: base >= 4.11 && < 4.16 ghc-options: -O2 -Wall@@ -89,8 +86,8 @@ exposed-modules: Colog.Polysemy Colog.Polysemy.Effect - build-depends: co-log-core ^>= 0.2.0.0- , polysemy >= 1.2.0.0 && < 1.4+ build-depends: co-log-core ^>= 0.3.0.0+ , polysemy >= 1.2.0.0 && < 1.7 executable play-colog-poly import: common-options
src/Colog/Polysemy.hs view
@@ -1,7 +1,11 @@ {- |-Copyright: (c) 2019-2020 Kowainik-SPDX-License-Identifier: MPL-2.0-Maintainer: Kowainik <xrom.xkov@gmail.com>+Module : Colog.Polysemy+Copyright : (c) 2019-2020 Kowainik+ (c) 2021 Co-Log+SPDX-License-Identifier : MPL-2.0+Maintainer : Co-Log <xrom.xkov@gmail.com>+Stability : Provisional+Portability : Portable This package contains extensible effects implementation of composable, contravariant and comonadic logging based on @co-log-core@ and @polysemy@.
src/Colog/Polysemy/Effect.hs view
@@ -1,9 +1,13 @@ {-# LANGUAGE TemplateHaskell #-} {- |-Copyright: (c) 2019-2020 Kowainik-SPDX-License-Identifier: MPL-2.0-Maintainer: Kowainik <xrom.xkov@gmail.com>+Module : Colog.Polysemy.Effect+Copyright : (c) 2019-2020 Kowainik+ (c) 2021 Co-Log+SPDX-License-Identifier : MPL-2.0+Maintainer : Co-Log <xrom.xkov@gmail.com>+Stability : Provisional+Portability : Portable This module contains logging effect which can be interpreted in terms of 'LogAction' from the @co-log-core@ package.