packages feed

non-negative-0.1.2: non-negative.cabal

Name:             non-negative
Version:          0.1.2
License:          GPL
License-File:     LICENSE
Author:           Henning Thielemann <haskell@henning-thielemann.de>
Maintainer:       Henning Thielemann <haskell@henning-thielemann.de>
Homepage:         http://code.haskell.org/~thielema/non-negative/
Category:         Math
Synopsis:         Non-negative numbers
Description:
   Provides a class for non-negative numbers,
   a wrapper which can turn any ordered numeric type into a member of that class,
   and a lazy number type for non-negative numbers
   (a generalization of Peano numbers).
   This library is used by the @event-list@ package.
Tested-With:      GHC==6.4.1, GHC==6.8.2, GHC==7.8.3
Cabal-Version:    >=1.10
Build-Type:       Simple

Flag splitBase
  description: Choose the new smaller, split-up base package.

Source-Repository this
  Tag:         0.1.2
  Type:        darcs
  Location:    http://code.haskell.org/~thielema/non-negative/

Source-Repository head
  Type:        darcs
  Location:    http://code.haskell.org/~thielema/non-negative/

Library
  Build-Depends:
    semigroups >=0.1 && <1.0,
    utility-ht >= 0.0.1 && <0.1,
    QuickCheck >= 2.1 && <3
  If flag(splitBase)
    Build-Depends: base >= 2 && < 5
  Else
    Build-Depends: base >= 1.0 && < 2

  Default-Language: Haskell98
  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Numeric.NonNegative.Class
    Numeric.NonNegative.Wrapper
    Numeric.NonNegative.Chunky
  Other-Modules:
    Numeric.NonNegative.ChunkyPrivate

Test-Suite test
  Type: exitcode-stdio-1.0
  Default-Language: Haskell98
  Hs-source-dirs:   src, .
  GHC-Options:      -Wall
  Build-Depends:
    QuickCheck,
    semigroups,
    utility-ht,
    base
  Main-Is:          Test/Main.hs
  Other-Modules:
    Test.Utility
    Test.Numeric.NonNegative.Chunky