@@ -205,43 +205,6 @@ parallelTests = H.parallel $ do
205205 -- it "MonadPlus - mzero" $
206206 -- (toListSerial mzero) `shouldReturn` ([] :: [Int])
207207
208− ---------------------------------------------------------------------------
209− -- Functor
210− ---------------------------------------------------------------------------
211−
212− describe "Functor (fmap)" $ do
213− -- XXX we should do these through property tests by using a
214− -- construction via list fold construction method.
215− it "fmap on composed (<>)" $
216− toListSerial (fmap (+1) (return 1 <> return 2))
217− `shouldReturn` ([2,3] :: [Int])
218−
219− it "fmap on composed (<>)" $
220− sort <$> toListParallel (fmap (+1) (return 1 <> return 2))
221− `shouldReturn` ([2,3] :: [Int])
222−
223− ---------------------------------------------------------------------------
224− -- Applicative
225− ---------------------------------------------------------------------------
226−
227− describe "Applicative" $ do
228− -- XXX we should do these through property tests by using a
229− -- construction via list fold construction method.
230− it "Apply - serial composed first argument" $
231− toListSerial ((,) <$> (return 1 <> return 2) <*> return 3)
232− `shouldReturn` ([(1,3),(2,3)] :: [(Int, Int)])
233−
234− it "Apply - serial composed second argument" $
235− toListSerial ((,) <$> return 1 <*> (return 2 <> return 3))
236− `shouldReturn` ([(1,2),(1,3)] :: [(Int, Int)])
237−
238− it "Apply - parallel composed first argument" $
239− sort <$> toListParallel ((,) <$> (return 1 <> return 2) <*> return 3)
240− `shouldReturn` ([(1,3),(2,3)] :: [(Int, Int)])
241−
242− it "Apply - parallel composed second argument" $
243− sort <$> toListParallel ((,) <$> return 1 <*> (return 2 <> return 3))
244− `shouldReturn` ([(1,2),(1,3)] :: [(Int, Int)])
245208
246209 ---------------------------------------------------------------------------
247210 -- Monoidal Compositions, multiset equality checks