Skip to content

Commit ffdeb4f

Browse files
committed
adjust on style
1 parent 881ec82 commit ffdeb4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

containers-tests/tests/intmap-strictness.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ prop_fromSetA_equiv_strictness fun set =
9797
bottomOn (M.fromSetA f set) (fmap getSolo . getCompose $ L.fromSetA (Compose . fmap (MkSolo $!) . f) set)
9898
where
9999
forceValues xs = foldr (\ !_ r -> r) () xs `seq` xs
100-
bottomOn = on (===) (isBottom . getSolo)
100+
bottomOn = (===) `on` isBottom . getSolo
101101
f = MkSolo . applyFunc fun
102102

103103
prop_strictFromList :: [(Key, Bot A)] -> Property

containers-tests/tests/map-strictness.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ prop_fromSetA_equiv_strictness fun set =
161161
bottomOn (M.fromSetA f set) (fmap getSolo . getCompose $ L.fromSetA (Compose . fmap (MkSolo $!) . f) set)
162162
where
163163
forceValues xs = foldr (\ !_ r -> r) () xs `seq` xs
164-
bottomOn = on (===) (isBottom . getSolo)
164+
bottomOn = (===) `on` isBottom . getSolo
165165
f = MkSolo . applyFunc fun
166166

167167
prop_strictFromArgSet :: Func OrdA (Bot A) -> Set OrdA -> Property

0 commit comments

Comments
 (0)