Fix cabal file; ghc-7.10 compatibility; Bump to 0.2.0.0
parent
37fa57dfc2
commit
902ef4c580
|
@ -2,7 +2,7 @@
|
||||||
-- documentation, see http://haskell.org/cabal/users-guide/
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
||||||
|
|
||||||
name: butcher
|
name: butcher
|
||||||
version: 0.1.0.0
|
version: 0.2.0.0
|
||||||
-- synopsis:
|
-- synopsis:
|
||||||
-- description:
|
-- description:
|
||||||
license: BSD3
|
license: BSD3
|
||||||
|
@ -12,7 +12,10 @@ maintainer: lsp@informatik.uni-kiel.de
|
||||||
-- copyright:
|
-- copyright:
|
||||||
-- category:
|
-- category:
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
extra-source-files: ChangeLog.md
|
extra-source-files: {
|
||||||
|
ChangeLog.md
|
||||||
|
srcinc/prelude.inc
|
||||||
|
}
|
||||||
cabal-version: >=1.10
|
cabal-version: >=1.10
|
||||||
|
|
||||||
flag butcher-dev
|
flag butcher-dev
|
||||||
|
@ -30,7 +33,7 @@ library
|
||||||
-- other-modules:
|
-- other-modules:
|
||||||
-- other-extensions:
|
-- other-extensions:
|
||||||
build-depends:
|
build-depends:
|
||||||
{ base >=4.9 && <4.10
|
{ base >=4.8 && <4.10
|
||||||
, free
|
, free
|
||||||
, unsafe
|
, unsafe
|
||||||
, lens
|
, lens
|
||||||
|
@ -41,6 +44,9 @@ library
|
||||||
, transformers
|
, transformers
|
||||||
, mtl
|
, mtl
|
||||||
, extra
|
, extra
|
||||||
|
, nats
|
||||||
|
, void
|
||||||
|
, bifunctors
|
||||||
}
|
}
|
||||||
if flag(butcher-dev) {
|
if flag(butcher-dev) {
|
||||||
build-depends:
|
build-depends:
|
||||||
|
@ -62,7 +68,6 @@ library
|
||||||
LambdaCase
|
LambdaCase
|
||||||
MultiWayIf
|
MultiWayIf
|
||||||
KindSignatures
|
KindSignatures
|
||||||
ApplicativeDo
|
|
||||||
}
|
}
|
||||||
ghc-options: {
|
ghc-options: {
|
||||||
-Wall
|
-Wall
|
||||||
|
@ -81,7 +86,7 @@ test-suite tests
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
build-depends:
|
build-depends:
|
||||||
{ base >=4.9 && <4.10
|
{ base >=4.8 && <4.10
|
||||||
, butcher
|
, butcher
|
||||||
, free
|
, free
|
||||||
, unsafe
|
, unsafe
|
||||||
|
|
|
@ -254,7 +254,13 @@ import qualified Data.Char as Char
|
||||||
-- import qualified Data.Proxy as Proxy
|
-- import qualified Data.Proxy as Proxy
|
||||||
-- import qualified Data.Traversable as Traversable
|
-- import qualified Data.Traversable as Traversable
|
||||||
-- import qualified Data.Void as Void
|
-- import qualified Data.Void as Void
|
||||||
|
|
||||||
|
#if MIN_VERSION_base(4,9,0)
|
||||||
import qualified GHC.OldList as List
|
import qualified GHC.OldList as List
|
||||||
|
#else
|
||||||
|
import qualified Data.List as List
|
||||||
|
#endif
|
||||||
|
|
||||||
-- import qualified Text.Printf as Printf
|
-- import qualified Text.Printf as Printf
|
||||||
|
|
||||||
import qualified Data.IntMap as IntMap
|
import qualified Data.IntMap as IntMap
|
||||||
|
|
Loading…
Reference in New Issue