packages feed

primal-memory-0.1.0.0: primal-memory.cabal

name:                primal-memory
version:             0.1.0.0
synopsis:            Unified interface for memory managemenet.
description:         Please see the README on GitHub at <https://github.com/lehins/primal#readme>
homepage:            https://github.com/lehins/primal
license:             BSD3
license-file:        LICENSE
author:              Alexey Kuleshevich
maintainer:          alexey@kuleshevi.ch
copyright:           2020 Alexey Kuleshevich
category:            Algorithms
build-type:          Simple
extra-source-files:  README.md
                   , CHANGELOG.md
cabal-version:       1.18
tested-with:         GHC == 8.4.3
                   , GHC == 8.4.4
                   , GHC == 8.6.3
                   , GHC == 8.6.4
                   , GHC == 8.6.5
                   , GHC == 8.8.1
                   , GHC == 8.8.2
                   , GHC == 8.10.1

library
  hs-source-dirs:      src
  exposed-modules:     Data.Prim.Memory
                     , Data.Prim.Memory.ByteArray
                     , Data.Prim.Memory.Bytes
                     , Data.Prim.Memory.Addr
                     , Data.Prim.Memory.ByteString
                     , Data.Prim.Memory.Ptr
                     , Data.Prim.Memory.Internal
                     , Data.Prim.Memory.ForeignPtr
  other-modules:       Data.Prim.Memory.Bytes.Internal
  build-depends:       base >= 4.8 && < 5
                     , bytestring
                     , deepseq
                     , primal

  default-language:    Haskell2010
  ghc-options:         -Wall
-- test-suite doctests
--   type:             exitcode-stdio-1.0
--   hs-source-dirs:   tests
--   main-is:          doctests.hs
--   build-depends: base
--                , doctest >=0.15
--                , prim-bytes
--                , template-haskell
--   default-language:    Haskell2010
--   ghc-options:        -Wall
--                       -fno-warn-orphans
--                       -threaded

benchmark bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Bench.hs
  ghc-options:         -Wall
                       -threaded
                       -O2
                       -with-rtsopts=-N
  build-depends:       base
                     , criterion
                     , primal
                     , primal-memory
                     , primitive
                     , deepseq
                     , random
  default-language:    Haskell2010

benchmark convert
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Conversion.hs
  ghc-options:         -Wall
                       -threaded
                       -O2
                       -with-rtsopts=-N
  build-depends:       base
                     , criterion
                     , primal
                     , primal-memory
                     , primitive
                     , deepseq
                     , random
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/lehins/prim-bytes