packages feed

range-0.1.0.1: range.cabal

-- Initial range.cabal generated by cabal init.  For further documentation,
--  see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                range

-- 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.1

-- A short (one-line) description of the package.
synopsis:            This has a bunch of code for specifying and managing ranges in your code.

-- A longer description of the package.
description:         range is built to allow you to use ranges in your code quickly and
                     efficiently. There are many occasions where you will want to check if
                     certain values are within a range and this library will make it
                     trivial for you to do so. It also attempts to do so in the most
                     efficient way possible.

-- The license under which the package is released.
license:             MIT

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Robert Massaioli

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          robertmassaioli@gmail.com

-- A copyright notice.
-- copyright:           

category:            Data

build-type:          Simple

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.8


library
  -- Modules exported by the library.
  exposed-modules:    Data.Range.Range
                      , Data.Range.NestedRange
                      , Data.Range.RangeTree
                      , Data.Range.Parser
  
  -- Modules included in this library but not exported.
  other-modules:  Data.Range.Data
                  , Data.Range.RangeInternal
                  , Data.Range.RangeTreeInternal
                  , Data.Range.Spans
                  , Data.Range.Util

  
  -- Other library packages from which modules are imported.
  build-depends:  base >= 4.5 && < 5
                  , parsec >= 3

  ghc-options: -Wall
   
  
Test-Suite test-range
   type:       exitcode-stdio-1.0
   main-is: Test/Range.hs
   build-depends: base                          >= 4.5 && < 5
                  , Cabal                       >= 1.14
                  , QuickCheck                  >= 2.4.0.1 && < 2.6
                  , test-framework-quickcheck2  >= 0.2 && < 0.4
                  , test-framework              >= 0.4 && < 0.9
                  , random                      >= 1.0
   ghc-options: -rtsopts -Wall