Skip to content

Commit

Permalink
remove unnecessary wraps in nested <~ statements
Browse files Browse the repository at this point in the history
  • Loading branch information
penguinland committed Sep 21, 2024
1 parent 9ce8d43 commit 6f13147
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Topics/Lebensohl.hs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ gameForce = let
"bid our suit at the 3 level. Partner will bid naturally, and " .+
"we'll find a game (likely either our suit or notrump)."
inner response = situation "gfnat" action response explanation dlr vul
in wrap $ return inner <~ responses
in return inner <~ responses
in
wrap $ return sit
<~ [ (Nat.b1No2D, [Leb.b1No2D3C, Leb.b1No2D3H, Leb.b1No2D3S])
Expand Down
8 changes: 4 additions & 4 deletions src/Topics/StandardModernPrecision/TripleFourOne.hs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ showAny4441 = let
in
situation "any" action' answer explanation dealer vul
in
wrap $ return inner <~ dealers
return inner <~ dealers
in
wrap $ return sit <~ [ (do B.b1C
oppsPass
Expand Down Expand Up @@ -54,7 +54,7 @@ relay = let
in
situation "relay" action' answer explanation dealer vul
in
wrap $ return inner <~ dealers
return inner <~ dealers
in
wrap $ return sit <~ [ (do B.b1C
oppsPass
Expand Down Expand Up @@ -92,7 +92,7 @@ bidSingleton = let
in
situation "bsing" action' answer explanation dealer vul
in
wrap $ return inner <~ answers <~ dealers
return inner <~ answers <~ dealers
in
wrap $ return sit
<~ [ (do B.b1C
Expand Down Expand Up @@ -142,7 +142,7 @@ singletonInPartnerSuit = let
in
situation "pdsing" action' ourBid explanation dealer vul
in
wrap $ return inner <~ lastTwoBids <~ dealers
return inner <~ lastTwoBids <~ dealers
in
wrap $ return sit <~ [ (do B.b1C
oppsPass
Expand Down

0 comments on commit 6f13147

Please sign in to comment.