@@ -883,6 +883,14 @@ bindWith par m1 f = go m1
883-- XXX do we need specialize to IO?
883-- XXX do we need specialize to IO?
884-- XXX can we optimize when c and a are same, by removing the forall using
884-- XXX can we optimize when c and a are same, by removing the forall using
885-- rewrite rules with type applications?
885-- rewrite rules with type applications?
887+-- | Perform a 'concatMap' using a specified concat strategy. The first
888+-- argument specifies a merge or concat function that is used to merge the
889+-- streams generated by the map function. For example, the concat function
890+-- could be 'serial', 'parallel', 'async', 'ahead' or any other zip or merge
886{-# INLINE concatMapBy #-}
894{-# INLINE concatMapBy #-}
887concatMapBy
895concatMapBy
888 :: IsStream t
896 :: IsStream t