-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de655ec
commit 0964c11
Showing
2 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# 0.1.0.0 - Unreleased | ||
# 0.1.0 - Unreleased | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,65 @@ | ||
cabal-version: 2.4 | ||
name: stm-fsifo | ||
version: 0.1.0.0 | ||
cabal-version: 2.4 | ||
|
||
author: Travis Staton <[email protected]> | ||
category: Data, Database, Network | ||
copyright: 2022, Travis Staton | ||
extra-source-files: CHANGELOG.md | ||
category: Concurrency, Data | ||
copyright: 2021-2023 Travis Staton, Mitchell Rosen | ||
homepage: https://github.com/awkward-squad/demeter | ||
license-file: LICENSE | ||
license: BSD-3-Clause | ||
maintainer: Travis Staton <[email protected]>, Mitchell Rosen <[email protected]> | ||
name: stm-fsifo | ||
synopsis: A FIFO queue that supports deleting an enqueued element | ||
version: 0.1.0 | ||
|
||
description: | ||
@stm-fsifo@ (first still in first out) is a FIFO queue that | ||
supports /O(1)/ push, pop, and removing any element from the | ||
queue. | ||
|
||
@stm-fsifo@ (first still in first out) is a FIFO queue that | ||
supports /O(1)/ push, pop, and removing any element from the | ||
queue. | ||
extra-doc-files: | ||
CHANGELOG.md | ||
|
||
library | ||
exposed-modules: Control.Concurrent.STM.Fsifo | ||
build-depends: | ||
base >= 4.14 && < 5, | ||
stm ^>= 2.5, | ||
hs-source-dirs: lib | ||
default-language: Haskell2010 | ||
common component | ||
default-language: Haskell2010 | ||
ghc-options: | ||
-Weverything | ||
-Wno-all-missed-specialisations | ||
-Wno-implicit-prelude | ||
-Wno-missing-import-lists | ||
-Wno-missing-local-signatures | ||
-Wno-missing-safe-haskell-mode | ||
-Wno-monomorphism-restriction | ||
-Wno-prepositive-qualified-module | ||
-Wno-safe | ||
-Wno-unsafe | ||
if impl(ghc >= 9.2) | ||
ghc-options: | ||
-Wno-missing-kind-signatures | ||
if impl(ghc >= 9.8) | ||
ghc-options: | ||
-Wall | ||
-Wcompat | ||
-Widentities | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wredundant-constraints | ||
-Wpartial-fields | ||
-O2 | ||
-Wno-missing-role-annotations | ||
|
||
library | ||
import: component | ||
build-depends: | ||
base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19, | ||
-- Manually skipping buggy 2.5.2.* | ||
stm == 2.5.1.* || ^>= 2.5.3.0, | ||
exposed-modules: Control.Concurrent.STM.Fsifo | ||
hs-source-dirs: lib | ||
|
||
test-suite test | ||
type: exitcode-stdio-1.0 | ||
main-is: Main.hs | ||
import: component | ||
build-depends: | ||
base, | ||
stm-fsifo, | ||
containers ^>= 0.6, | ||
hedgehog ^>= 1.2, | ||
stm, | ||
stm-fsifo, | ||
tasty ^>= 1.4, | ||
tasty-hedgehog ^>= 1.4, | ||
transformers ^>= 0.5 || ^>= 0.6, | ||
containers ^>= 0.6, | ||
hedgehog ^>= 1.2, | ||
ghc-options: -rtsopts -threaded | ||
hs-source-dirs: test | ||
default-language: Haskell2010 | ||
ghc-options: | ||
-Wall | ||
-Wcompat | ||
-Widentities | ||
-Wincomplete-record-updates | ||
-Wincomplete-uni-patterns | ||
-Wredundant-constraints | ||
-Wpartial-fields | ||
-O1 | ||
-rtsopts | ||
-threaded | ||
main-is: Main.hs | ||
type: exitcode-stdio-1.0 |