packages feed

int-cast-0.2.0.0: int-cast.cabal

cabal-version:       1.12
name:                int-cast
version:             0.2.0.0

synopsis:            Checked conversions between integral types
homepage:            https://github.com/hvr/int-cast
bug-reports:         https://github.com/hvr/int-cast/issues
license:             BSD3
license-file:        LICENSE
author:              Herbert Valerio Riedel
maintainer:          hvr@gnu.org
category:            Data
build-type:          Simple
description:
  Provides statically or dynamically checked conversions between integral types. See documentation in "Data.IntCast" for more details.

extra-source-files:  changelog.md

source-repository head
    type:     git
    location: https://github.com/hvr/int-cast.git

library
  exposed-modules:     Data.IntCast

  default-language:    Haskell2010
  other-extensions:    CPP
                       DataKinds
                       TypeFamilies
                       TypeOperators
                       UndecidableInstances

  build-depends:       base >=4.7 && <4.12
  if !impl(ghc>=7.10)
    build-depends:     nats >=0.1 && <1.1

  ghc-options:         -Wall

test-suite int-cast-test
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Suite.hs
  ghc-options:         -Wall
  build-depends:       int-cast
                     , base
                     , QuickCheck                 ==2.11.*
                     , test-framework             ==0.8.*
                     , test-framework-quickcheck2 ==0.3.*

  if !impl(ghc>=7.10)
    build-depends: nats