packages feed

int-cast-0.1.2.0: int-cast.cabal

name:                int-cast
version:             0.1.2.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
cabal-version:       >=1.10
description:
  Provides statically or dynamically checked conversions between integral types.

extra-source-files:  changelog.md

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

library
  default-language:    Haskell2010
  other-extensions:
    CPP
    DataKinds
    TypeFamilies
    TypeOperators
    UndecidableInstances
  build-depends:       base >=4.7 && <4.9
  if !impl(ghc>=7.10)
    build-depends: nats >=0.1 && <1.1

  exposed-modules:     Data.IntCast

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.7.*, test-framework ==0.8.*, test-framework-quickcheck2 ==0.3.*
  if !impl(ghc>=7.10)
    build-depends: nats