Cabal revisions of strict-checked-vars-0.2.1.0
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-cabal-version: 3.0-name: strict-checked-vars-version: 0.2.1.0-synopsis:- Strict MVars and TVars with invariant checking for IO and IOSim--description:- Strict @MVar@ and @TVar@ interfaces with invariant checking compatible with- [IO](https://hackage.haskell.org/package/base-4.18.0.0/docs/Prelude.html#t:IO)- & [io-sim](https://hackage.haskell.org/package/io-sim).--license: Apache-2.0-license-files:- LICENSE- NOTICE--copyright: 2019-2023 Input Output Global Inc (IOG).-author: IOG Engineering Team-maintainer: operations@iohk.io, Joris Dral-category: Concurrency-build-type: Simple-extra-doc-files:- CHANGELOG.md- README.md--bug-reports: https://github.com/IntersectMBO/io-classes-extra/issues-tested-with: ghc ==9.6 || ==9.8 || ==9.10 || ==9.12--source-repository head- type: git- location: https://github.com/IntersectMBO/io-classes-extra- subdir: strict-checked-vars--source-repository this- type: git- location: https://github.com/IntersectMBO/io-classes-extra- subdir: strict-checked-vars- tag: strict-checked-vars-0.2.1.0--flag checkmvarinvariants- description: Enable runtime invariant checks on StrictMVars- manual: True- default: False--flag checktvarinvariants- description: Enable runtime invariant checks on StrictTVars- manual: True- default: False--library- hs-source-dirs: src- exposed-modules:- Control.Concurrent.Class.MonadMVar.Strict.Checked- Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked-- default-language: Haskell2010- default-extensions: ImportQualifiedPost- build-depends:- base >=4.9 && <5,- io-classes:{io-classes, strict-mvar, strict-stm} ^>=1.8,-- ghc-options:- -Wall- -Wcompat- -Wincomplete-uni-patterns- -Wincomplete-record-updates- -Wpartial-fields- -Widentities- -Wunused-packages-- if flag(checkmvarinvariants)- cpp-options: -DCHECK_MVAR_INVARIANTS-- if flag(checktvarinvariants)- cpp-options: -DCHECK_TVAR_INVARIANTS--test-suite test- type: exitcode-stdio-1.0- hs-source-dirs: test- main-is: Main.hs- other-modules:- Test.Control.Concurrent.Class.MonadMVar.Strict.Checked- Test.Control.Concurrent.Class.MonadMVar.Strict.Checked.WHNF- Test.Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked- Test.Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked.WHNF- Test.Utils-- default-language: Haskell2010- default-extensions: ImportQualifiedPost- build-depends:- QuickCheck,- base,- io-classes,- io-sim,- nothunks,- strict-checked-vars,- tasty,- tasty-quickcheck,-- ghc-options:- -Wall- -Wcompat- -Wincomplete-uni-patterns- -Wincomplete-record-updates- -Wpartial-fields- -Widentities- -Wunused-packages- -fno-ignore-asserts-- if flag(checkmvarinvariants)- cpp-options: -DCHECK_MVAR_INVARIANTS-- if flag(checktvarinvariants)- cpp-options: -DCHECK_TVAR_INVARIANTS+cabal-version: 3.0 +name: strict-checked-vars +version: 0.2.1.0 +x-revision: 1 +synopsis: + Strict MVars and TVars with invariant checking for IO and IOSim + +description: + Strict @MVar@ and @TVar@ interfaces with invariant checking compatible with + [IO](https://hackage.haskell.org/package/base-4.18.0.0/docs/Prelude.html#t:IO) + & [io-sim](https://hackage.haskell.org/package/io-sim). + +license: Apache-2.0 +license-files: + LICENSE + NOTICE + +copyright: 2019-2023 Input Output Global Inc (IOG). +author: IOG Engineering Team +maintainer: operations@iohk.io, Joris Dral +category: Concurrency +build-type: Simple +extra-doc-files: + CHANGELOG.md + README.md + +bug-reports: https://github.com/IntersectMBO/io-classes-extra/issues +tested-with: ghc ==9.6 || ==9.8 || ==9.10 || ==9.12 + +source-repository head + type: git + location: https://github.com/IntersectMBO/io-classes-extra + subdir: strict-checked-vars + +source-repository this + type: git + location: https://github.com/IntersectMBO/io-classes-extra + subdir: strict-checked-vars + tag: strict-checked-vars-0.2.1.0 + +flag checkmvarinvariants + description: Enable runtime invariant checks on StrictMVars + manual: True + default: False + +flag checktvarinvariants + description: Enable runtime invariant checks on StrictTVars + manual: True + default: False + +library + hs-source-dirs: src + exposed-modules: + Control.Concurrent.Class.MonadMVar.Strict.Checked + Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked + + default-language: Haskell2010 + default-extensions: ImportQualifiedPost + build-depends: + base >=4.9 && <5, + io-classes:{io-classes, strict-mvar, strict-stm} >=1.8 && < 2.0, + + ghc-options: + -Wall + -Wcompat + -Wincomplete-uni-patterns + -Wincomplete-record-updates + -Wpartial-fields + -Widentities + -Wunused-packages + + if flag(checkmvarinvariants) + cpp-options: -DCHECK_MVAR_INVARIANTS + + if flag(checktvarinvariants) + cpp-options: -DCHECK_TVAR_INVARIANTS + +test-suite test + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: Main.hs + other-modules: + Test.Control.Concurrent.Class.MonadMVar.Strict.Checked + Test.Control.Concurrent.Class.MonadMVar.Strict.Checked.WHNF + Test.Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked + Test.Control.Concurrent.Class.MonadSTM.Strict.TVar.Checked.WHNF + Test.Utils + + default-language: Haskell2010 + default-extensions: ImportQualifiedPost + build-depends: + QuickCheck, + base, + io-classes, + io-sim, + nothunks, + strict-checked-vars, + tasty, + tasty-quickcheck, + + ghc-options: + -Wall + -Wcompat + -Wincomplete-uni-patterns + -Wincomplete-record-updates + -Wpartial-fields + -Widentities + -Wunused-packages + -fno-ignore-asserts + + if flag(checkmvarinvariants) + cpp-options: -DCHECK_MVAR_INVARIANTS + + if flag(checktvarinvariants) + cpp-options: -DCHECK_TVAR_INVARIANTS
revision 2
cabal-version: 3.0 name: strict-checked-vars version: 0.2.1.0 -x-revision: 1 synopsis: Strict MVars and TVars with invariant checking for IO and IOSim CHANGELOG.md README.md +x-revision: 2 + bug-reports: https://github.com/IntersectMBO/io-classes-extra/issues tested-with: ghc ==9.6 || ==9.8 || ==9.10 || ==9.12 default-extensions: ImportQualifiedPost build-depends: base >=4.9 && <5, - io-classes:{io-classes, strict-mvar, strict-stm} >=1.8 && < 2.0, + io-classes:{io-classes, strict-mvar, strict-stm} ^>=1.8 || ^>=1.9, ghc-options: -Wall QuickCheck, base, io-classes, - io-sim, + io-sim <1.10, nothunks, strict-checked-vars, tasty,
revision 3
CHANGELOG.md README.md -x-revision: 2 +x-revision: 3 bug-reports: https://github.com/IntersectMBO/io-classes-extra/issues -tested-with: ghc ==9.6 || ==9.8 || ==9.10 || ==9.12 +tested-with: ghc ==9.6 || ==9.8 || ==9.10 || ==9.12 || ==9.14 source-repository head type: git tag: strict-checked-vars-0.2.1.0 flag checkmvarinvariants - description: Enable runtime invariant checks on StrictMVars + description: + Enable runtime invariant checks on StrictMVars. + This will incur severe performance penalties, it should probably not be enabled in production but rather in tests. + manual: True default: False flag checktvarinvariants - description: Enable runtime invariant checks on StrictTVars + description: + Enable runtime invariant checks on StrictTVars. + This will incur severe performance penalties, it should probably not be enabled in production but rather in tests. + manual: True default: False default-language: Haskell2010 default-extensions: ImportQualifiedPost build-depends: - base >=4.9 && <5, - io-classes:{io-classes, strict-mvar, strict-stm} ^>=1.8 || ^>=1.9, + base >=4.18 && <5, + io-classes:{io-classes, strict-mvar, strict-stm} >=1.8 && <1.11, ghc-options: -Wall