Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eduardo Trujillo
hgit
Commits
8aa0ef9c
Commit
8aa0ef9c
authored
4 years ago
by
Eduardo Trujillo
Browse files
Options
Downloads
Patches
Plain Diff
Update to support base >= 0.13
parent
310d84f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Data/Git/Monad.hs
+7
-1
7 additions, 1 deletion
Data/Git/Monad.hs
git.cabal
+1
-1
1 addition, 1 deletion
git.cabal
stack.yaml
+7
-2
7 additions, 2 deletions
stack.yaml
stack.yaml.lock
+12
-0
12 additions, 0 deletions
stack.yaml.lock
with
27 additions
and
4 deletions
Data/Git/Monad.hs
+
7
−
1
View file @
8aa0ef9c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
git.cabal
+
1
−
1
View file @
8aa0ef9c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
stack.yaml
+
7
−
2
View file @
8aa0ef9c
# ~*~ 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 diff is collapsed.
Click to expand it.
stack.yaml.lock
0 → 100644
+
12
−
0
View file @
8aa0ef9c
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment