packages feed

quote-quot-0.2.0.0: quote-quot.cabal

cabal-version:      >=1.10
name:               quote-quot
version:            0.2.0.0
license:            BSD3
license-file:       LICENSE
copyright:          2020 Andrew Lelechenko
maintainer:         andrew.lelechenko@gmail.com
author:             Andrew Lelechenko
tested-with:        ghc ==8.10.3, ghc ==9.0.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-source-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
  build-depends:
    base < 5,
    template-haskell >=2.16

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
  build-depends:
    base,
    quote-quot,
    tasty,
    tasty-quickcheck,
    -- wide-word >=0.1.1.2,
    -- word24,
    template-haskell

benchmark quote-quot-bench
  type:             exitcode-stdio-1.0
  main-is:          Bench.hs
  hs-source-dirs:   bench
  default-language: Haskell2010
  ghc-options:      -Wall -O2
  build-depends:
    base,
    quote-quot,
    tasty-bench,
    template-haskell