packages feed

deque-0.4.4.2: deque.cabal

cabal-version: 3.0
name:          deque
version:       0.4.4.2
synopsis:      Double-ended queues
description:
  Strict and lazy implementations of Double-Ended Queue (aka Dequeue or Deque)
  based on head-tail linked list.

category:      Data
homepage:      https://github.com/nikita-volkov/deque
bug-reports:   https://github.com/nikita-volkov/deque/issues
author:        Nikita Volkov <nikita.y.volkov@mail.ru>
maintainer:    Nikita Volkov <nikita.y.volkov@mail.ru>
copyright:     (c) 2016, Nikita Volkov
license:       MIT
license-file:  LICENSE

source-repository head
  type:     git
  location: https://github.com/nikita-volkov/deque

library
  hs-source-dirs:     library
  default-extensions:
    NoImplicitPrelude
    BangPatterns
    DeriveDataTypeable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    FlexibleContexts
    FlexibleInstances
    LambdaCase
    RankNTypes
    ScopedTypeVariables
    StandaloneDeriving
    TypeApplications
    TypeFamilies

  ghc-options:        -funbox-strict-fields
  default-language:   Haskell2010
  exposed-modules:
    Deque.Lazy
    Deque.Lazy.Reader
    Deque.Lazy.State
    Deque.Strict
    Deque.Strict.Reader
    Deque.Strict.State

  other-modules:
    Deque.Lazy.Defs
    Deque.Prelude
    Deque.Strict.Defs

  build-depends:
    , base >=4.9 && <5
    , deepseq >=1.4.3 && <2
    , hashable >=1.2 && <2
    , mtl >=2.2 && <3
    , strict-list >=0.1.6 && <0.2

test-suite test
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  default-extensions:
    NoImplicitPrelude
    BangPatterns
    DeriveDataTypeable
    DeriveFunctor
    DeriveGeneric
    DeriveTraversable
    FlexibleContexts
    FlexibleInstances
    LambdaCase
    RankNTypes
    ScopedTypeVariables
    StandaloneDeriving
    TypeApplications
    TypeFamilies

  default-language:   Haskell2010
  main-is:            Main.hs
  build-depends:
    , deque
    , rerebase <2
    , tasty >=0.12 && <2
    , tasty-quickcheck >=0.9 && <0.12