packages feed

quote-quot-0.2.2.0: quote-quot.cabal

cabal-version:      2.2
name:               quote-quot
version:            0.2.2.0
license:            BSD-3-Clause
license-file:       LICENSE
copyright:          2020-2022 Andrew Lelechenko
maintainer:         andrew.lelechenko@gmail.com
author:             Andrew Lelechenko
tested-with:
  ghc ==9.2.8 ghc ==9.4.8 ghc ==9.6.7 ghc ==9.8.4 ghc ==9.10.3
  ghc ==9.12.2 ghc ==9.14.1

homepage:           https://github.com/Bodigrim/quote-quot#readme
synopsis:           Divide without division
description:
  Generate routines for integer division, employing arithmetic
  and bitwise operations only, which are __2.5x-3.5x faster__
  than 'quot'. Divisors must be known in compile-time and be positive.

category:           Math, Numerical
build-type:         Simple
extra-doc-files:
  changelog.md
  README.md

source-repository head
  type:     git
  location: https://github.com/Bodigrim/quote-quot

library
  exposed-modules:  Numeric.QuoteQuot
  hs-source-dirs:   src
  default-language: Haskell2010
  ghc-options:      -Wall -Wcompat
  build-depends:
    base >=4.18 && < 5,
    template-haskell-lift >= 0.1 && < 0.2

test-suite quote-quot-tests
  type:             exitcode-stdio-1.0
  main-is:          Test.hs
  hs-source-dirs:   tests
  default-language: Haskell2010
  ghc-options:      -Wall -threaded -rtsopts -Wcompat
  build-depends:
    base,
    quote-quot,
    tasty,
    tasty-quickcheck
    -- wide-word >=0.1.9,
    -- word24,

benchmark quote-quot-bench
  type:             exitcode-stdio-1.0
  main-is:          Bench.hs
  hs-source-dirs:   bench
  default-language: Haskell2010
  ghc-options:      -Wall -O2 -Wcompat -fproc-alignment=64
  build-depends:
    base,
    quote-quot,
    tasty-bench >= 0.3.3