File: PSQueue.cabal

package info (click to toggle)
haskell-psqueue 1.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: haskell: 519; makefile: 2
file content (49 lines) | stat: -rw-r--r-- 1,442 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
cabal-version:      2.0
name:               PSQueue
version:            1.2.0
build-type:         Simple
license:            BSD3
license-file:       LICENSE
author:             Ralf Hinze
maintainer:         Teo Camarasu <teofilcamarasu@gmail.com>
bug-reports:        https://github.com/TeofilC/PSQueue/issues
synopsis:           Priority Search Queue
category:           Data Structures
description:
  A /priority search queue/ efficiently supports the
  operations of both a search tree and a priority queue. A
  'Binding' is a product of a key and a priority.  Bindings
  can be inserted, deleted, modified and queried in
  logarithmic time, and the binding with the least priority
  can be retrieved in constant time.  A queue can be built
  from a list of bindings, sorted by keys, in linear time.

tested-with:        GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.1 || ==9.6.1
extra-source-files: ChangeLog.md

source-repository head
  type:     git
  location: https://github.com/TeofilC/PSQueue.git

library
  exposed-modules:
    Data.PSQueue
    Data.PSQueue.Internal

  default-language: Haskell2010
  hs-source-dirs:   src/

  if impl(ghc >7.2)
    default-extensions: Safe

  build-depends:    base >=4.3 && <4.19

test-suite test
  type:             exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs:   test/
  main-is:          Test.hs
  build-depends:
      base
    , PSQueue
    , QuickCheck < 3