-- Initial HFrequencyQueue.cabal generated by cabal init. For further -- documentation, see http://haskell.org/cabal/users-guide/ -- The name of the package. name: HFrequencyQueue -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. -- http://www.haskell.org/haskellwiki/Package_versioning_policy -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change version: 0.1.0.0 -- A short (one-line) description of the package. synopsis: A Queue with a random (weighted) pick function -- A longer description of the package. description: This package provide a queue that use an internal random generator to return a random element. The probability that a certain element come out is controlled by an Int that is the relative probability of that element. IT USE GCC WITH C++11! -- URL for the project homepage or repository. homepage: https://github.com/Bellaz/HfrequencyList -- The license under which the package is released. license: GPL-3 -- The file containing the license text. license-file: LICENSE -- The package author(s). author: Andrea Bellandi -- An email address to which users can send suggestions, bug reports, and -- patches. maintainer: bellaz89@gmail.com -- A copyright notice. -- copyright: category: Data build-type: Simple -- Extra files to be distributed with the package, such as examples or a -- README. -- extra-source-files: -- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10 library -- Modules exported by the library. exposed-modules: Data.FrequencyQueue.IO -- Modules included in this library but not exported. -- other-modules: cc-options: "-std=c++11" -- The C source files to compile, in that order c-sources: cbits/hfrequencyqueue_backend.cpp -- The location of the header files include-dirs: cbits -- LANGUAGE extensions used by modules in this package. other-extensions: DeriveGeneric -- Other library packages from which modules are imported. build-depends: base >=4.7 && < 4.8 , c-storable-deriving >= 0.1.2 && < 0.2 extra-libraries: stdc++ -- Directories containing source files. hs-source-dirs: src -- Base language which the package is written in. default-language: Haskell2010 source-repository head type: git location: https://github.com/Bellaz/HfrequencyList