circular 0.4.0.0 → 0.4.0.1
raw patch · 6 files changed
+22/−7 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +6/−0
- LICENSE +1/−1
- bench/Bench.hs +1/−1
- circular.cabal +7/−3
- src/Data/Stack/Circular.hs +6/−1
- test/Data/Stack/CircularSpec.hs +1/−1
ChangeLog.md view
@@ -5,6 +5,12 @@ ## Unreleased changes +## 0.4.0.1++- Minor changes mostly related to tooling.+- Nix support.++ ## 0.4.0.0 - Do not export data constructors nor record fields.
LICENSE view
@@ -1,4 +1,4 @@-Copyright Dominik Schrempf (c) 2020+Copyright Dominik Schrempf (c) 2021 All rights reserved.
bench/Bench.hs view
@@ -1,7 +1,7 @@ -- | -- Module : Main -- Description : Benchmark circular stacks--- Copyright : (c) Dominik Schrempf, 2020+-- Copyright : (c) Dominik Schrempf, 2021 -- License : GPL-3.0-or-later -- -- Maintainer : dominik.schrempf@gmail.com
circular.cabal view
@@ -1,6 +1,6 @@-cabal-version: 1.12+cabal-version: 2.0 name: circular-version: 0.4.0.0+version: 0.4.0.1 synopsis: Circular fixed-sized mutable vectors description: Please see the README at <https://github.com/dschrempf/circular#readme> category: Math, Data Structures@@ -8,7 +8,7 @@ bug-reports: https://github.com/dschrempf/circular/issues author: Dominik Schrempf maintainer: dominik.schrempf@gmail.com-copyright: Dominik Schrempf (2020)+copyright: Dominik Schrempf (2021) license: BSD3 license-file: LICENSE build-type: Simple@@ -40,6 +40,8 @@ other-modules: Data.Stack.CircularSpec Paths_circular+ autogen-modules:+ Paths_circular hs-source-dirs: test ghc-options: -Wall -Wunused-packages build-depends:@@ -57,6 +59,8 @@ type: exitcode-stdio-1.0 main-is: Bench.hs other-modules:+ Paths_circular+ autogen-modules: Paths_circular hs-source-dirs: bench ghc-options: -Wall -Wunused-packages
src/Data/Stack/Circular.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Data.Stack.Circular -- Description : Circular stacks of fixed size--- Copyright : (c) 2020 Dominik Schrempf+-- Copyright : (c) 2021 Dominik Schrempf -- License : GPL-3.0-or-later -- -- Maintainer : dominik.schrempf@gmail.com@@ -250,6 +250,11 @@ } deriving (Eq, Read, Show) +-- This (per se useless) top level splice separates the module into two+-- declaration groups. This is required, because the expression slices below+-- (which are now in the second declaration group) can only refer to definitions+-- outside their own declaration group. See+-- https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/template_haskell.html. $(return []) instance (FromJSON (v a)) => FromJSON (Stack v a) where
test/Data/Stack/CircularSpec.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Data.Stack.CircularSpec -- Description : Unit tests for Data.Stack.Circular--- Copyright : (c) Dominik Schrempf, 2020+-- Copyright : (c) Dominik Schrempf, 2021 -- License : GPL-3.0-or-later -- -- Maintainer : dominik.schrempf@gmail.com