name: priority-queue
version: 0.2.2
stability: provisional
license: BSD3
license-file: LICENSE
cabal-version: >= 1.2
build-type: Simple
author: James Cook <mokus@deepbondi.net>
maintainer: James Cook <mokus@deepbondi.net>
homepage: http://code.haskell.org/~mokus/priority-queue
category: Data
synopsis: Simple implementation of a priority queue.
description: Simple implementation of a priority queue.
flag splitBase
Library
hs-source-dirs: src
exposed-modules: Data.PriorityQueue
extensions: CPP
if flag(splitBase)
build-depends: base >= 3 && <5, containers <0.4
else
build-depends: base < 3
cpp-options: -DNoMinViewWithKey
if !impl(ghc >= 6.12)
-- There are probably other tests that would tell us we have breakl
-- (eg perhaps impl(otherhc >= x.y)), but I don't know what they are.
-- it should be safe to assume it's not there, so this condition is
-- intentionally conservative.
-- I tried just using another flag to discriminate on the version
-- of 'containers', but then cabal wants to install whatever version
-- it decides it likes best, which is a very bad thing to do.
cpp-options: -DNoBreakL
build-depends: reord >= 0.0.0.2, stateref >= 0.3 && < 0.4,
queue >= 0.1.2 && < 0.2