co-log-core 0.2.1.0 → 0.2.1.1
raw patch · 3 files changed
+32/−20 lines, 3 filesdep ~basedep ~doctestPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, doctest
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- README.md +13/−11
- co-log-core.cabal +14/−9
CHANGELOG.md view
@@ -3,6 +3,11 @@ `co-log-core` uses [PVP Versioning][1]. The change log is available [on GitHub][2]. +## 0.2.1.1 — Apr 18, 2020++* [#186](https://github.com/kowainik/co-log/issues/186):+ Support GHC-8.10.1.+ ## 0.2.1.0 — Jan 19, 2020 * [#139](https://github.com/kowainik/co-log/issues/139):
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) + | | | | | | :------------ | :--------------------------------- | :---------------------------------------- | :---------------------------------------------------- | | `co-log-core` | [![Hackage][hk-img-core]][hk-core] | [![Stackage LTS][lts-img-core]][lts-core] | [![Stackage Nightly][nightly-img-core]][nightly-core] |@@ -16,13 +18,13 @@ core, we are striving to provide beginner-friendly API. The library also contains complete documentation with a lot of beginner-friendly examples, explanations and tutorials to guide users. The combination-of pragmatic approach to logging and fundamental Haskell abstractions-allows us to create highly composable and configurable logging+of a pragmatic approach to logging and fundamental Haskell abstractions+allows us to create a highly composable and configurable logging framework. -If you're interested in how different Haskel typeclasses are used to+If you're interested in how different Haskell typeclasses are used to implement core functions of `co-log`, you can read the following blog-post which goes in detail about internal implementation specifics:+post which goes into detail about internal implementation specifics: * [co-log: Composable Contravariant Combinatorial Comonadic Configurable Convenient Logging](https://kowainik.github.io/posts/2018-09-25-co-log) @@ -37,17 +39,17 @@ `co-log-core`. * [`co-log-polysemy`](co-log-polysemy): implementation of logging library based on `co-log-core` and the [`polysemy`](http://hackage.haskell.org/package/polysemy) extensible effects library.-* [`co-log-benchmark`](co-log-benchmark): Benchmarks of the `co-log` library.+* [`co-log-benchmark`](co-log-benchmark): benchmarks of the `co-log` library. -To provide more user-friendly introduction to the library, we've+To provide a more user-friendly introduction to the library, we've 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) -`co-log` also cares about concurrent logging. For this purposes we have the `concurrent-playground`-executable where we experiment with different multithreading scenarios to test the library behavior.+`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. You can find it here: * [tutorials/Concurrent.hs](co-log/tutorials/Concurrent.hs)@@ -55,9 +57,9 @@ ## Benchmarks `co-log` is compared with basic functions like `putStrLn`. Since IO overhead is-big enough, every benchmark dumps 10K messages to output. If benchmark name-doesn't contain `Message` then this benchmark simply dumps string `"message"`-to output, otherwise it works with `Message` data type from the `co-log`+big enough, every benchmark dumps 10K messages to output. If a benchmark's name+doesn't contain `Message` then this benchmark simply dumps the string `"message"`+to output, otherwise it works with the `Message` data type from the `co-log` library. To run benchmarks, use the following command:
co-log-core.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: co-log-core-version: 0.2.1.0+version: 0.2.1.1 synopsis: Composable Contravariant Comonadic Logging Library description: This package provides core types and functions to work with the @LogAction@ data type which is both simple and powerful.@@ -36,26 +36,31 @@ tested-with: GHC == 8.2.2 GHC == 8.4.4 GHC == 8.6.5- GHC == 8.8.2+ GHC == 8.8.3+ GHC == 8.10.1 source-repository head type: git location: https://github.com/kowainik/co-log.git common common-options- build-depends: base >= 4.10.1.0 && < 4.14+ build-depends: base >= 4.10.1.0 && < 4.15 ghc-options: -Wall- -Wincomplete-uni-patterns- -Wincomplete-record-updates -Wcompat -Widentities+ -Wincomplete-uni-patterns+ -Wincomplete-record-updates -Wredundant-constraints- -fhide-source-paths- -freverse-errors- if impl(ghc >= 8.8.1)+ if impl(ghc >= 8.2)+ ghc-options: -fhide-source-paths+ if impl(ghc >= 8.4)+ ghc-options: -Wmissing-export-lists+ -Wpartial-fields+ if impl(ghc >= 8.8) ghc-options: -Wmissing-deriving-strategies- -Werror=missing-deriving-strategies+ if impl(ghc >= 8.10)+ ghc-options: -Wunused-packages default-language: Haskell2010 default-extensions: ConstraintKinds