packages feed

quickcheck-extras-0.1.0.1: quickcheck-extras.cabal

cabal-version: 3.0
name: quickcheck-extras
version: 0.1.0.1
category: Testing, Utilities, QuickCheck
synopsis: Extra utilities for QuickCheck
homepage: https://github.com/nikita-volkov/quickcheck-extras
bug-reports: https://github.com/nikita-volkov/quickcheck-extras/issues
author: Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer: Nikita Volkov <nikita.y.volkov@mail.ru>
copyright: (c) 2026, Nikita Volkov
license: MIT
license-file: LICENSE
extra-doc-files:
  LICENSE

source-repository head
  type: git
  location: https://github.com/nikita-volkov/quickcheck-extras

common base
  default-language: Haskell2010
  default-extensions:
    ApplicativeDo
    BangPatterns
    BinaryLiterals
    BlockArguments
    ConstraintKinds
    DataKinds
    DefaultSignatures
    DeriveDataTypeable
    DeriveFoldable
    DeriveFunctor
    DeriveTraversable
    DerivingStrategies
    DerivingVia
    DuplicateRecordFields
    EmptyDataDecls
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    LambdaCase
    LiberalTypeSynonyms
    MagicHash
    MultiParamTypeClasses
    MultiWayIf
    NamedFieldPuns
    NoImplicitPrelude
    NoMonomorphismRestriction
    NumericUnderscores
    OverloadedStrings
    ParallelListComp
    PatternGuards
    QuasiQuotes
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    StandaloneDeriving
    StrictData
    TemplateHaskell
    TupleSections
    TypeApplications
    TypeFamilies
    TypeOperators
    UnboxedTuples
    ViewPatterns

common executable
  import: base
  ghc-options:
    -O2
    -threaded
    -with-rtsopts=-N
    -rtsopts
    -funbox-strict-fields

common test
  import: base
  ghc-options:
    -threaded
    -with-rtsopts=-N

library
  import: base
  hs-source-dirs: src/library
  exposed-modules:
    QuickCheckExtras.Arbitrary
    QuickCheckExtras.Gen
    QuickCheckExtras.Random

  other-modules:
  build-depends:
    QuickCheck >=2.14 && <3,
    base >=4.11 && <5,
    containers >=0.6 && <0.9,
    splitmix ^>=0.1,