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
7700ff5c
Commit
7700ff5c
authored
1 year ago
by
Teo Camarasu
Browse files
Options
Downloads
Patches
Plain Diff
Add patch for monad-par
parent
fd0862df
No related branches found
No related tags found
1 merge request
!317
Add some patches
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/monad-par-0.3.5.patch
+17
-0
17 additions, 0 deletions
patches/monad-par-0.3.5.patch
with
17 additions
and
0 deletions
patches/monad-par-0.3.5.patch
0 → 100644
+
17
−
0
View file @
7700ff5c
diff --git a/Control/Monad/Par/Scheds/Direct.hs b/Control/Monad/Par/Scheds/Direct.hs
index 1b65b26..aa2d8c4 100644
--- a/Control/Monad/Par/Scheds/Direct.hs
+++ b/Control/Monad/Par/Scheds/Direct.hs
@@ -36,7 +36,11 @@
import Control.Concurrent hiding (yield)
import Data.IORef (IORef,newIORef,readIORef,writeIORef,atomicModifyIORef)
import Text.Printf (printf)
import GHC.Conc (numCapabilities,yield)
-import "mtl" Control.Monad.Cont as C
+import Control.Monad
+import Control.Monad.Cont
+import Control.Monad.Trans
+import Control.Monad.IO.Class
+import qualified "mtl" Control.Monad.Cont as C
import qualified "mtl" Control.Monad.Reader as RD
import qualified System.Random.MWC as Random
import System.IO.Unsafe (unsafePerformIO)
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