Skip to content

Commit

Permalink
Update libs/cardano-ledger-test/src/Test/Cardano/Ledger/Constrained/A…
Browse files Browse the repository at this point in the history
…st.hs

Co-authored-by: Alexey Kuleshevich <alexey.kuleshevich@iohk.io>
  • Loading branch information
TimSheard and lehins committed Dec 13, 2023
1 parent fd2c612 commit 7292824
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -899,9 +899,8 @@ targetMaybeEnv root (Partial (Var v) f) env =
case f root of
Just val -> Just (storeVar v val env)
Nothing -> Nothing
targetMaybeEnv root (x :$ y) env = case targetMaybeEnv root y env of
Just env2 -> targetMaybeEnv root x env2
Nothing -> Nothing
targetMaybeEnv root (x :$ y) env =
targetMaybeEnv root y env >>= targetMaybeEnv root x
targetMaybeEnv _ _ _ = Nothing

runPred :: Env era -> Pred era -> Typed Bool
Expand Down

0 comments on commit 7292824

Please sign in to comment.