Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cabal.project.release
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
index-state:
-- Bump this if you need newer packages from Hackage
-- current date: fs-api-0.4.0.0 and fs-sim-0.4.0.0
, hackage.haskell.org 2025-07-01T00:00:00Z
-- current date: quickcheck-lockstep-0.8.0
, hackage.haskell.org 2025-07-03T13:54:16Z

packages:
.
Expand Down
5 changes: 2 additions & 3 deletions lsm-tree.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -893,12 +893,11 @@ test-suite lsm-tree-test
, quickcheck-classes
, quickcheck-dynamic
, quickcheck-instances
, quickcheck-lockstep
, quickcheck-lockstep >=0.8
, random
, safe-wild-cards
, semialign
, split
, stm
, tasty
, tasty-golden
, tasty-hunit
Expand Down Expand Up @@ -1208,7 +1207,7 @@ test-suite prototypes-test
, primitive
, QuickCheck
, quickcheck-dynamic
, quickcheck-lockstep
, quickcheck-lockstep >=0.8
, tasty
, tasty-hunit
, tasty-quickcheck
Expand Down
4 changes: 2 additions & 2 deletions test-prototypes/Test/ScheduledMergesQLS.hs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ deriving stock instance Eq (ModelValue Model a)


runActionIO :: Action (Lockstep Model) a
-> LookUp IO
-> LookUp
-> ReaderT (PrimVar RealWorld TableId) IO a
runActionIO action lookUp = ReaderT $ \tidVar -> do
case action of
Expand All @@ -408,7 +408,7 @@ runActionIO action lookUp = ReaderT $ \tidVar -> do
ADump var -> stToIO $ logicalValue (lookUpVar var)
where
lookUpVar :: ModelVar Model a -> a
lookUpVar = realLookupVar (Proxy :: Proxy IO) lookUp
lookUpVar = realLookupVar lookUp

tr :: Tracer (ST RealWorld) Event
tr = nullTracer
Expand Down
2 changes: 1 addition & 1 deletion test/Test/Database/LSMTree/Internal/Readers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ instance RunLockstep ReadersState RealMonad where
Pop {} -> OEither . bimap OId (OTuple3 . trimap OId OId OId)
DropWhileKey {} -> OEither . bimap OId (OTuple2 . bimap OId OId)

runIO :: LockstepAction ReadersState a -> LookUp RealMonad -> RealMonad (Realized RealMonad a)
runIO :: LockstepAction ReadersState a -> LookUp -> RealMonad a
runIO act lu = case act of
New offset srcDatas -> ReaderT $ \(hfs, hbio) -> do
RealState numRuns mCtx <- get
Expand Down
Loading