mirror of
https://github.com/barrucadu/dejafu.git
synced 2024-12-19 19:41:31 +03:00
Add Functor context to sctBoundedM for pre-AMP GHC
This commit is contained in:
parent
d32ee150bd
commit
dea286a582
@ -144,7 +144,7 @@ sctBoundedIO bv backtrack initialise c = sctBoundedM bv backtrack initialise run
|
||||
run sched s = runConcIO' sched s c
|
||||
|
||||
-- | Generic SCT runner.
|
||||
sctBoundedM :: Monad m
|
||||
sctBoundedM :: (Functor m, Monad m)
|
||||
=> ([Decision] -> Bool)
|
||||
-> ([BacktrackStep] -> Int -> ThreadId -> [BacktrackStep])
|
||||
-> (Maybe (ThreadId, ThreadAction) -> NonEmpty (ThreadId, ThreadAction') -> NonEmpty ThreadId)
|
||||
|
Loading…
Reference in New Issue
Block a user