/
safe-length.cabal
36 lines (34 loc) · 1.06 KB
/
safe-length.cabal
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
name: safe-length
version: 0.1.0.0
synopsis: Tired of accidentally calling length on tuples? Relief at last!
homepage: http://www.github.com/stepcut/safe-length
license: BSD3
license-file: LICENSE
author: Jeremy Shaw
maintainer: jeremy@n-heptane.com
category: Data
build-type: Simple
cabal-version: >=1.10
data-files:
example/BrokenTuple.hs
example/GoodTuple.hs
example/List.hs
example/NestedList.hs
example/OldList.hs
example/Tuple.hs
library
exposed-modules: Safe.Length
build-depends: base >=4.8 && <4.9
hs-source-dirs: src
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests
build-depends: base,
hspec,
hspec-core,
QuickCheck,
safe-length,
should-not-typecheck
default-language: Haskell2010