Add INLINE to longest
commit824aa0a2ef81485851aa59f57dccfb6cd3e7fb75
authorHarendra Kumar <harendra@composewell.com>
dateWed 1 Sep 2021, 20:27 (5 years ago)
parent8848ec8
src/Streamly/Internal/Data/Fold/Type.hs+1
@@ -997,6 +997,7 @@ data LongestRunner sL sR bL bR
997997--
998998-- /Pre-release/
999999--
1000+{-# INLINE longest #-}
10001001longest :: Monad m => Fold m x a -> Fold m x b -> Fold m x (Either a b)
10011002longest (Fold stepL beginL doneL) (Fold stepR beginR doneR) =
10021003 Fold step begin done