Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
head.hackage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glasgow Haskell Compiler
head.hackage
Commits
711e56dc
"libraries/git@gitlab.haskell.org:normalcoder/ghc.git" did not exist on "38e436836b9a693602fbdfb51d0b3cc40651a0de"
Commit
711e56dc
authored
4 years ago
by
Teo Camarasu
Browse files
Options
Downloads
Patches
Plain Diff
add haxl patch
parent
a982b1d9
No related branches found
No related tags found
1 merge request
!171
Add patches
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/haxl-2.3.0.0.patch
+26
-0
26 additions, 0 deletions
patches/haxl-2.3.0.0.patch
with
26 additions
and
0 deletions
patches/haxl-2.3.0.0.patch
0 → 100644
+
26
−
0
View file @
711e56dc
diff --git a/Haxl/Core/DataCache.hs b/Haxl/Core/DataCache.hs
index ed264aa..ccf0617 100644
--- a/Haxl/Core/DataCache.hs
+++ b/Haxl/Core/DataCache.hs
@@ -51,7 +51,7 @@
newtype DataCache res = DataCache (HashTable TypeRep (SubCache res))
--
data SubCache res =
forall req a . (Hashable (req a), Eq (req a), Typeable (req a)) =>
- SubCache (req a -> String) (a -> String) ! (HashTable (req a) (res a))
+ SubCache (req a -> String) (a -> String) !(HashTable (req a) (res a))
-- NB. the inner HashMap is strict, to avoid building up
-- a chain of thunks during repeated insertions.
diff --git a/Haxl/Core/Fetch.hs b/Haxl/Core/Fetch.hs
index 80bab4b..539635c 100644
--- a/Haxl/Core/Fetch.hs
+++ b/Haxl/Core/Fetch.hs
@@ -40,7 +40,7 @@
import Data.Either
import Data.Hashable
import Data.IORef
import Data.Int
-import Data.List
+import Data.List (intercalate)
#if __GLASGOW_HASKELL__ < 804
import Data.Monoid
#endif
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