@@ -493,7 +493,7 @@ parseManyWordQuotedBy =
493493 spc _ = False
494494
495495 parser = P.wordQuotedBy kQ esc lQ rQ fromLQ spc FL.toList
496− result <- H.runIO $ S.fold FL.toList $ S.rights $ S.parseMany parser inpStrm
496+ result <- H.runIO $ S.fold FL.toList $ S.catRights $ S.parseMany parser inpStrm
497497 H.it (showCase c) $ result `H.shouldBe` expected
498498
499499 where
@@ -610,8 +610,8 @@ deintercalate =
610610 p1 = P.takeWhile even FL.toList
611611 p2 = P.takeWhile odd FL.toList
612612 partition =
613− FL.tee (fmap concat $ FL.lefts FL.toList)
614− (fmap concat $ FL.rights FL.toList)
613+ FL.tee (fmap concat $ FL.catLefts FL.toList)
614+ (fmap concat $ FL.catRights FL.toList)
615615 p = P.deintercalate p1 p2 partition
616616
617617-- shortestPass :: Property
@@ -744,7 +744,7 @@ parseMany =
744744 let p = P.fromFold $ FL.take len FL.toList
745745 run
746746 $ S.fold FL.toList
747− $ S.rights
747+ $ S.catRights
748748 $ S.parseMany p (S.fromList $ concat ins)
749749 listEquals (==) outs ins
750750
@@ -799,7 +799,7 @@ parseMany2Events =
799799 xs <-
800800 ( run
801801 $ S.fold FL.toList
802− $ S.rights
802+ $ S.catRights
803803 $ S.parseMany readOneEvent
804804 $ S.fromList (concat (replicate 2 event))
805805 )
@@ -819,7 +819,7 @@ manyEqParseMany =
819819 monadicIO $ do
820820 let strm = S.fromList lst
821821 r1 <- run $ S.parse (P.many (split i) FL.toList) strm
822− r2 <- run $ S.fold FL.toList $ S.rights $ S.parseMany (split i) strm
822+ r2 <- run $ S.fold FL.toList $ S.catRights $ S.parseMany (split i) strm
823823 return $
824824 case r1 of
825825 Right o1 -> o1 == r2
@@ -865,7 +865,7 @@ takeEndBy2 =
865865
866866 eitherParsedList =
867867 S.fold FL.toList
868− $ S.rights
868+ $ S.catRights
869869 $ S.parseMany (P.takeEndBy predicate prsr) strm
870870
871871 where