File: wide-word.cabal

package info (click to toggle)
haskell-wide-word 0.1.6.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 196 kB
  • sloc: haskell: 2,793; makefile: 6
file content (86 lines) | stat: -rw-r--r-- 3,420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
-- Initial wide-word.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                wide-word
version:             0.1.6.0
synopsis:            Data types for large but fixed width signed and unsigned integers
description:
  A library to provide data types for large (ie > 64 bits) but fixed width signed
  and unsigned integers with the usual typeclass instances to allow them to be used
  interchangeably with `Word64`.
  .
  The types and operations are coded to be as fast as possible using strictness
  annotations, `INLINEABLE` pragmas and unboxed values and operations where
  appropriate.
homepage:            https://github.com/erikd/wide-word
bug-reports:         https://github.com/erikd/wide-word/issues/
license:             BSD2
license-file:        LICENSE
author:              Erik de Castro Lopo
maintainer:          erikd@mega-nerd.com
copyright:           Copyright (c) 2017 Erik de Castro Lopo <erikd@mega-nerd.com>
category:            Data
build-type:          Simple
extra-source-files:  ChangeLog.md
stability:           provisional
cabal-version:       >= 1.10
tested-with:         GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2,
                     GHC == 9.2.4, GHC == 9.4.7, GHC == 9.6.2, GHC == 9.8.1

library
  default-language:   Haskell2010
  ghc-options:        -Wall -fwarn-tabs
  hs-source-dirs:     src
  other-extensions:   StrictData

  exposed-modules:     Data.WideWord
                       Data.WideWord.Int128
                       Data.WideWord.Word64
                       Data.WideWord.Word128
                       Data.WideWord.Word256

  other-modules:       Data.WideWord.Compat

  build-depends:       base                          >= 4.9         && < 4.20
                     , binary                        >= 0.8.3.0     && < 0.9
                     , deepseq                       >= 1.4.2.0     && < 1.6
                     -- Required so that GHC.IntWord64 is available on 32 bit systems
                     , ghc-prim
                     , primitive                     >= 0.6.4.0     && < 0.10
                     , hashable                      >= 1.2         && < 1.5

test-suite test
  default-language:   Haskell2010
  ghc-options:        -Wall -fwarn-tabs -threaded -O2
  type:               exitcode-stdio-1.0

  main-is:            test.hs
  hs-source-dirs:     test

  other-modules:      Test.Data.WideWord.Gen
                      Test.Data.WideWord.Int128
                      Test.Data.WideWord.Word64
                      Test.Data.WideWord.Word128

  build-depends:       base
                     , binary
                     , bytestring                    >= 0.10 && < 0.13
                     , ghc-prim
                     , hedgehog                      >= 1.0 && < 1.5
                     , primitive
                     , wide-word

test-suite laws
  default-language:  Haskell2010
  ghc-options:       -Wall
  type:              exitcode-stdio-1.0

  main-is:           laws.hs
  hs-source-dirs:    test

  build-depends:       base
                     , QuickCheck                    >= 2.9.2       && < 2.15
                     , quickcheck-classes            >= 0.6.3       && < 0.7.0
                     , primitive
                     , semirings                     >= 0.2         && < 0.8
                     , wide-word