packages feed

IsNull-0.4.0.0: IsNull.cabal

name:                IsNull
version:             0.4.0.0
synopsis:            A typeclass to determine if a given value is null.
description:         A typeclass to determine if a given foldable type
                     (or other) is empty ~ null ~ invalid.
                     The definition is intentionally vague, to cover types
                     from Either to Text and Sets.
homepage:            https://github.com/jcristovao/IsNull
license:             BSD3
license-file:        LICENSE
author:              João Cristóvão <jmacristovao@gmail.com>
                   , Ivan Miljenovic <Ivan.Miljenovic@gmail.com>
maintainer:          jmacristovao@gmail.com
category:            Data
build-type:          Simple

extra-source-files: README.md

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

library
  hs-source-dirs:      src
  ghc-options:         -Wall
  default-language:    Haskell2010
  exposed-modules:    Data.IsNull
  build-depends:      base             >= 4.5    && < 4.8
                    , containers       >= 0.5    && < 0.6
                    , text             >= 0.11.3 && < 1.3
                    , bytestring       >= 0.10.0 && < 1.0
  if impl(ghc < 7.7)
    build-depends:
                      base-compat      >= 0.5    && < 0.6

  
-- the test suite checks for most (modern) applicable types
-- found on Cabal. Exceptions: utf8-string, ListLike, IxSet

test-suite test
  type:               exitcode-stdio-1.0
  main-is:            main.hs
  hs-source-dirs:     test,src
  default-language: Haskell2010
  build-depends:       base             >= 4.5    && < 4.8
                     , containers       >= 0.5    && < 0.6
                     , text             >= 0.11.3 && < 1.3
                     , unordered-containers >= 0.2.3
                     , vector           >= 0.10.0.1
                     , text             >= 0.11.3.1
                     , bytestring       >= 0.10.0.2
                     , system-filepath  >= 0.4.6
                     , QuickCheck       >= 2.6
                     , quickcheck-instances >= 0.3.5 
                     , HUnit            >= 1.2.5.2
                     , hspec            >= 1.7.2
  if impl(ghc < 7.7)
    build-depends:
                      base-compat      >= 0.5    && < 0.6



source-repository head
  type:     git
  location: https://github.com/jcristovao/IsNull