@@ -57,8 +57,6 @@ module Streamly.Internal.Data.Fold
57 , countDistinct
57 , countDistinct
58 , countDistinctInt
58 , countDistinctInt
62 , rollingHash
60 , rollingHash
63 , rollingHashWithSalt
61 , rollingHashWithSalt
64 , rollingHashFirstN
62 , rollingHashFirstN
@@ -285,6 +283,8 @@ module Streamly.Internal.Data.Fold
285 -- * Deprecated
283 -- * Deprecated
286 , sequence
284 , sequence
@@ -794,6 +794,7 @@ mean = fmap done $ foldl' step begin
794-- the input stream.
794-- the input stream.
796-- @since 0.7.0
796-- @since 0.7.0
797+{-# DEPRECATED variance "Use the streamly-statistics package instead" #-}
797{-# INLINE variance #-}
798{-# INLINE variance #-}
798variance :: (Monad m, Fractional a) => Fold m a a
799variance :: (Monad m, Fractional a) => Fold m a a
799variance = fmap done $ foldl' step begin
800variance = fmap done $ foldl' step begin
@@ -817,6 +818,7 @@ variance = fmap done $ foldl' step begin
817-- elements in the input stream.
818-- elements in the input stream.
819-- @since 0.7.0
820-- @since 0.7.0
821+{-# DEPRECATED stdDev "Use the streamly-statistics package instead" #-}
820{-# INLINE stdDev #-}
822{-# INLINE stdDev #-}
821stdDev :: (Monad m, Floating a) => Fold m a a
823stdDev :: (Monad m, Floating a) => Fold m a a
822stdDev = sqrt <$> variance
824stdDev = sqrt <$> variance