@@ -905,6 +905,8 @@ data TeeState sL sR bL bR
905905--
906906-- See also: "Streamly.Data.Fold.Tee"
907907--
908+-- Note that nested applications of teeWith do not fuse.
909+--
908910{-# INLINE teeWith #-}
909911teeWith :: Monad m => (a -> b -> c) -> Fold m x a -> Fold m x b -> Fold m x c
910912teeWith f (Fold stepL initialL extractL) (Fold stepR initialR extractR) =
@@ -1320,7 +1322,7 @@ catRights = filter isRight . lmap (fromRight undefined)
13201322--
13211323-- Definition:
13221324--
1323−-- >>> both = Fold.lmap (either id id)
1325+-- >>> catEithers = Fold.lmap (either id id)
13241326--
13251327-- /Pre-release/
13261328--