File: assert-failure.cabal

package info (click to toggle)
haskell-assert-failure 0.1.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 64 kB
  • sloc: haskell: 64; makefile: 5
file content (42 lines) | stat: -rw-r--r-- 2,054 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name:          assert-failure
-- 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.2.2
synopsis:      Syntactic sugar improving 'assert' and 'error'
description:   This library contains syntactic sugar that makes it easier
               to write simple contracts with 'assert' and 'error'
               and report the values that violate contracts.
homepage:      https://github.com/Mikolaj/assert-failure
bug-reports:   https://github.com/Mikolaj/assert-failure/issues
license:       BSD3
license-file:  LICENSE
tested-with:   GHC >= 7.6 && <= 8.2
data-files:    LICENSE, README.md
author:        Mikolaj Konarski
maintainer:    Mikolaj Konarski <mikolaj.konarski@funktory.com>
category:      Control, Contract
build-type:    Simple
cabal-version: >= 1.10

source-repository head
  type:               git
  location:           git://github.com/Mikolaj/assert-failure.git

library
  exposed-modules:    Control.Exception.Assert.Sugar
--  other-modules:
  build-depends:      base                 >= 4.6      && < 5,
                      text                 >= 0.11.2.3 && < 2,
                      pretty-show          >= 1.6      && < 2

  default-language:   Haskell2010
  default-extensions: MonoLocalBinds, ScopedTypeVariables, OverloadedStrings
                      BangPatterns, RecordWildCards, NamedFieldPuns, MultiWayIf
  other-extensions:   RankNTypes
  ghc-options:        -Wall -fwarn-orphans -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-implicit-prelude -fwarn-identities
-- TODO:  ghc-options:        -Wall -Wcompat -Worphans -Wincomplete-uni-patterns -Wincomplete-record-updates -Wimplicit-prelude -Wmissing-home-modules -Widentities
  ghc-options:        -fno-ignore-asserts