Skip to content

Commit ceb8aec

Browse files
committed
Use Haskell 2010
1 parent 0166314 commit ceb8aec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

zlib.cabal

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ description: This package provides a pure interface for compressing and
1717
tasks and for the few cases where more control is needed it
1818
provides access to the full zlib feature set.
1919
build-type: Simple
20-
cabal-version: >= 1.8
20+
cabal-version: >= 1.10
2121
extra-source-files: cbits/crc32.h cbits/inffast.h cbits/inflate.h
2222
cbits/trees.h cbits/deflate.h cbits/inffixed.h
2323
cbits/inftrees.h cbits/zutil.h
@@ -34,7 +34,8 @@ library
3434
Codec.Compression.Zlib.Raw,
3535
Codec.Compression.Zlib.Internal
3636
other-modules: Codec.Compression.Zlib.Stream
37-
extensions: CPP, ForeignFunctionInterface
37+
default-language: Haskell2010
38+
other-extensions: CPP, ForeignFunctionInterface, RankNTypes, BangPatterns
3839
build-depends: base >= 3 && < 5,
3940
bytestring >= 0.9 && < 0.12
4041
includes: zlib.h
@@ -59,6 +60,7 @@ test-suite tests
5960
Test.Codec.Compression.Zlib.Internal,
6061
Test.Codec.Compression.Zlib.Stream
6162
hs-source-dirs: test
63+
default-language: Haskell2010
6264
build-depends: base, bytestring, zlib,
6365
QuickCheck == 2.*,
6466
HUnit == 1.2.*,

0 commit comments

Comments
 (0)