diff options
author | Benjamin Barenblat <bbarenblat@gmail.com> | 2022-01-19 13:04:08 -0500 |
---|---|---|
committer | Benjamin Barenblat <bbarenblat@gmail.com> | 2022-01-19 13:31:03 -0500 |
commit | c79473051a8e1647b14f351b72768b74301acc33 (patch) | |
tree | eb25ad044ab8e8b924b9fea02af4a264c998536e /git-annex.cabal | |
parent | 44df82dcbf72d01d2bbb6c0afacff329ca749854 (diff) |
Deal with the MonadFail proposal
base-4.9 split MonadFail from Monad. Strengthen some type signatures to
require MonadFail instead of just Monad, derive MonadFail in relevant
places, and change a partial pattern match inside STM to one that
explicitly calls error. (STM is not a MonadFail; the user must
explicitly specify the desired semantics if a pattern match doesn’t work
out. In this case, the failing branch of the pattern should never be
reached, so crashing is fine.)
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index d94b1469f..403fb65c2 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -202,7 +202,7 @@ custom-setup Executable git-annex Main-Is: git-annex.hs Build-Depends: - base (>= 4.6 && < 5.0), + base (>= 4.9 && < 5.0), optparse-applicative (>= 0.11.0), containers (>= 0.5.0.0), exceptions (>= 0.6), |