File tree Expand file tree Collapse file tree 9 files changed +306
-376
lines changed Expand file tree Collapse file tree 9 files changed +306
-376
lines changed Original file line number Diff line number Diff line change 1
1
index-state:
2
2
-- Bump this if you need newer packages from Hackage
3
- -- current date: fs-api -0.4.0.0 and fs-sim-0.4.0 .0
4
- , hackage.haskell.org 2025-07-01T00:00:00Z
3
+ -- current date: quickcheck-lockstep -0.8 .0
4
+ , hackage.haskell.org 2025-07-03T13:54:16Z
5
5
6
6
packages:
7
7
.
Original file line number Diff line number Diff line change @@ -771,12 +771,11 @@ test-suite lsm-tree-test
771
771
, quickcheck-classes
772
772
, quickcheck-dynamic
773
773
, quickcheck-instances
774
- , quickcheck-lockstep
774
+ , quickcheck-lockstep >= 0.8
775
775
, random
776
776
, safe-wild-cards
777
777
, semialign
778
778
, split
779
- , stm
780
779
, tasty
781
780
, tasty-golden
782
781
, tasty-hunit
@@ -1090,7 +1089,7 @@ test-suite prototypes-test
1090
1089
, primitive
1091
1090
, QuickCheck
1092
1091
, quickcheck-dynamic
1093
- , quickcheck-lockstep
1092
+ , quickcheck-lockstep >= 0.8
1094
1093
, tasty
1095
1094
, tasty-hunit
1096
1095
, tasty-quickcheck
Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ deriving stock instance Eq (ModelValue Model a)
383
383
384
384
385
385
runActionIO :: Action (Lockstep Model ) a
386
- -> LookUp IO
386
+ -> LookUp
387
387
-> ReaderT (PrimVar RealWorld TableId ) IO a
388
388
runActionIO action lookUp = ReaderT $ \ tidVar -> do
389
389
case action of
@@ -408,7 +408,7 @@ runActionIO action lookUp = ReaderT $ \tidVar -> do
408
408
ADump var -> stToIO $ logicalValue (lookUpVar var)
409
409
where
410
410
lookUpVar :: ModelVar Model a -> a
411
- lookUpVar = realLookupVar ( Proxy :: Proxy IO ) lookUp
411
+ lookUpVar = realLookupVar lookUp
412
412
413
413
tr :: Tracer (ST RealWorld ) Event
414
414
tr = nullTracer
Original file line number Diff line number Diff line change @@ -414,7 +414,7 @@ instance RunLockstep ReadersState RealMonad where
414
414
Pop {} -> OEither . bimap OId (OTuple3 . trimap OId OId OId )
415
415
DropWhileKey {} -> OEither . bimap OId (OTuple2 . bimap OId OId )
416
416
417
- runIO :: LockstepAction ReadersState a -> LookUp RealMonad -> RealMonad ( Realized RealMonad a )
417
+ runIO :: LockstepAction ReadersState a -> LookUp -> RealMonad a
418
418
runIO act lu = case act of
419
419
New offset srcDatas -> ReaderT $ \ (hfs, hbio) -> do
420
420
RealState numRuns mCtx <- get
You can’t perform that action at this time.
0 commit comments