cabal-version: 2.2
name:
  arraylist
version:
  0.1.0.0
synopsis:
  Memory-efficient ArrayList implementation
description:
  An ArrayList that carries information about the amount of data in it
  that is actually used, and tries to keep space usage to a minimum.
homepage:
  https://github.com/chessai/arraylist
license:
  BSD-3-Clause
license-file:
  LICENSE
author:
  andrewthad
maintainer:
  chessai1996@gmail.com
copyright:
  copyright (c) 2018 andrewthad
category:
  Data
build-type:
  Simple
extra-source-files:
  CHANGELOG.md

library
  exposed-modules:
    ArrayList
  build-depends:
      base >=4.7 && < 4.13
    , primitive >= 0.6.4.0 && < 0.7.0.0
    , initialize >= 0.1.1.0 && < 0.2.0.0
  hs-source-dirs:
    src
  default-language:
    Haskell2010

test-suite test
  type:
    exitcode-stdio-1.0
  hs-source-dirs:
    test
  main-is:
    Main.hs
  build-depends:
      base >= 4.7 && < 4.13
    , arraylist
    , tasty >= 1.1.0.0 && < 1.2.0.0
    , tasty-smallcheck >= 0.8.0.0 && < 0.9.0.0
    , smallcheck >= 1.1.0.0 && < 1.2.0.0
    , primitive >= 0.6.4.0 && < 0.7.0.0
    , hashable >= 1.2.0.0 && < 1.3.0.0
    , MonadRandom >= 0.5.0.0 && < 0.6.0.0
  default-language:
    Haskell2010