packages feed

pvar-0.2.0.0: pvar.cabal

cabal-version: 1.12

name:           pvar
version:        0.2.0.0
synopsis:       Mutable variable with primitive values
description:    Mutable variable `PVar` that is backed by a single value `MutableByteArray`
homepage:       https://github.com/lehins/pvar#readme
bug-reports:    https://github.com/lehins/pvar/issues
author:         Alexey Kuleshevich
maintainer:     alexey@kuleshevi.ch
copyright:      2020 Alexey Kuleshevich
category:       Data
license:        BSD3
license-file:   LICENSE
build-type:     Simple
tested-with:    GHC == 7.10.2
              , GHC == 7.10.3
              , GHC == 8.0.1
              , GHC == 8.0.2
              , GHC == 8.2.2
              , GHC == 8.4.3
              , GHC == 8.4.4
              , GHC == 8.6.3
              , GHC == 8.6.4
              , GHC == 8.6.5
              , GHC == 8.8.2
              , GHC == 8.8.3
extra-source-files: README.md
                  , CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/lehins/pvar

library
  exposed-modules: Data.Primitive.PVar
                 , Data.Primitive.PVar.Unsafe
  other-modules: Data.Primitive.PVar.Internal
  hs-source-dirs: src
  build-depends: base >=4.8 && <6
               , deepseq
               , primitive >= 0.5.4.0
  default-language: Haskell2010
  ghc-options: -Wall
  if impl(ghc < 8.2)
    c-sources: cbits/pvar.c

test-suite tests
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules: Spec
               , Test.Primitive.PVarSpec
  hs-source-dirs: tests
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends: base >=4.7 && <5
               , async
               , deepseq
               , pvar
               , primitive
               , hspec
               , QuickCheck
               , genvalidity
  default-language: Haskell2010