We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8af9ab commit c350f8dCopy full SHA for c350f8d
test/Test/Data/Map.purs
@@ -233,7 +233,7 @@ mapTests = do
233
quickCheck $ \(TestMap m1) (TestMap m2) -> ((m1 :: M.Map SmallKey Int) `M.intersection` m2) == ((m1 `M.intersection` m2) `M.intersection` (m2 :: M.Map SmallKey Int))
234
235
log "intersectionWith"
236
- for_ [Tuple (+) 0, Tuple (*) 1] $ \(Tuple op ident) ->
+ for_ [(+), (*)] $ \op ->
237
quickCheck $ \(TestMap m1) (TestMap m2) k ->
238
let u = M.intersectionWith op m1 m2 :: M.Map SmallKey Int
239
in case M.lookup k u of
0 commit comments