summaryrefslogtreecommitdiff
path: root/word64-map/word64-map.cabal
blob: 576046e8541fb4b3ff8526c31b67fcc38f9d12a0 (plain)
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
-- Initial word64-map.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                word64-map
version:             0.1.0.0
synopsis: 64-bit Version of IntMap
description: This is a wrapper around 'Data.IntMap', from the containers package, but with a
             guaranteed bitwidth of 64 bits.

             On 32 bit platforms, this is currently accomplished simply by composing two IntMaps.

             On obvious 64 bit platforms(platform name as shown by System.Info.arch ends in 64) 
             it is simply a newtype of IntMap.
license:             BSD3
license-file:        LICENSE
author:              James Crayne
maintainer:          James Crayne <jim.crayne@gmail.com>
-- copyright:
-- category:
build-type:          Simple
extra-source-files:  CHANGELOG.md
cabal-version:       >=1.10


library
  exposed-modules:     Data.Word64Map
  -- other-modules:
  other-extensions:    RankNTypes, ScopedTypeVariables, UnboxedTuples
  build-depends:
          base
        , containers
  hs-source-dirs:      src
  default-language:    Haskell2010
  if arch(x86_64)
    Cpp-options: -DKNOWN64
  if arch(ppc64)
    Cpp-options: -DKNOWN64
  if arch(ia64)
    Cpp-options: -DKNOWN64
  if arch(arm64)
    Cpp-options: -DKNOWN64