We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d2eb9 commit 56ce016Copy full SHA for 56ce016
io-sim/src/Control/Monad/IOSimPOR/QuickCheckUtils.hs
@@ -10,10 +10,10 @@ import Control.Monad.ST.Lazy.Unsafe (unsafeInterleaveST)
10
import Test.QuickCheck.Gen
11
import Test.QuickCheck.Property
12
13
--- note: this only evaluates `prop` in parallel, not `ST` actions
+-- note: it evaluates each `ST` action in parallel.
14
conjoinParST :: TestableNoCatch prop => [ST s prop] -> ST s Property
15
conjoinParST sts = do
16
- ps <- sequence sts
+ ps <- sequence (unsafeInterleaveST <$> sts)
17
return $ conjoinPar ps
18
19
-- Take the conjunction of several properties, in parallel This is a
0 commit comments