Skip to content
Snippets Groups Projects
Commit 8aa0ef9c authored by Eduardo Trujillo's avatar Eduardo Trujillo
Browse files

Update to support base >= 0.13

parent 310d84f4
No related branches found
No related tags found
No related merge requests found
......@@ -127,7 +127,7 @@ instance Resolvable Git.RefName where
-- | Basic operations common between the different Monads defined in this
-- package.
class (Functor m, Applicative m, Monad m) => GitMonad m where
class (Functor m, Applicative m, Monad m, MonadFail m) => GitMonad m where
-- | the current Monad must allow access to the current Git
getGit :: m (Git.Git SHA1)
liftGit :: IO a -> m a
......@@ -240,6 +240,8 @@ instance Applicative GitM where
instance Monad GitM where
return = returnGitM
(>>=) = bindGitM
instance MonadFail GitM where
fail = failGitM
instance GitMonad GitM where
......@@ -313,6 +315,8 @@ instance Applicative CommitAccessM where
instance Monad CommitAccessM where
return = returnCommitAccessM
(>>=) = bindCommitAccessM
instance MonadFail CommitAccessM where
fail = failCommitAccessM
instance GitMonad CommitAccessM where
......@@ -474,6 +478,8 @@ instance Applicative CommitM where
instance Monad CommitM where
return = returnCommitM
(>>=) = bindCommitM
instance MonadFail CommitM where
fail = failCommitM
instance GitMonad CommitM where
......
......@@ -26,7 +26,7 @@ data-files: README.md
extra-source-files: tests/*.hs
Library
Build-Depends: base >= 4 && < 5
Build-Depends: base >= 4.13 && < 5
, basement
, bytestring >= 0.9
, containers
......
# ~*~ auto-generated by haskell-ci with config : 0a4c6a0fd68c5b852764201c037cae7f29b1cb3f3856f78d1a20fe2e44845097 ~*~
{ resolver: lts-13.5, packages: [ '.' ], extra-deps: [], flags: {} }
resolver: nightly-2020-12-12
packages:
- '.'
extra-deps: []
flags: {}
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
packages: []
snapshots:
- completed:
size: 556770
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2020/12/12.yaml
sha256: 168062744e171ba6949149ee702483d2186ddfbb6038508576d6c5093245f534
original: nightly-2020-12-12
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment