From 7212448445b57aad260cc710d5ced7e9aa23e713 Mon Sep 17 00:00:00 2001 From: Taylor Fausak Date: Sat, 10 Apr 2021 14:06:37 -0400 Subject: [PATCH] Add dependency version constraints --- README.markdown | 1 - witch.cabal | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.markdown b/README.markdown index 4a335c5..fc86441 100644 --- a/README.markdown +++ b/README.markdown @@ -9,6 +9,5 @@ ## To do - [ ] Upgrade Stackage snapshot. -- [ ] Add dependency version constraints. - [ ] Add instances for `Word*` and `Natural`. - [ ] Add more instances ... diff --git a/witch.cabal b/witch.cabal index 9867794..c01dd3b 100644 --- a/witch.cabal +++ b/witch.cabal @@ -18,8 +18,8 @@ source-repository head library build-depends: - base - , template-haskell + base >= 4.13.0 && < 4.16 + , template-haskell >= 2.15.0 && < 2.18 default-language: Haskell2010 exposed-modules: Witch @@ -53,7 +53,7 @@ library test-suite test build-depends: base - , HUnit + , HUnit >= 1.6.2 && < 1.7 , witch default-language: Haskell2010 hs-source-dirs: src/test