Add Functor context to sctBoundedM for pre-AMP GHC

This commit is contained in:
Michael Walker 2015-08-10 10:37:42 +01:00
parent d32ee150bd
commit dea286a582

View File

@ -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)