Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. windowPowerSum :: forall (m :: Type -> Type) a . (Monad m, Num a) => Int -> Fold m (a, Maybe a) a

    streamly-core Streamly.Internal.Data.Fold

    Sum of the <math>th power of all the elements in a rolling window: <math>

    >>> powerSum k = lmap (^ k) sum
    
    Space: <math> Time: <math>

  2. windowPowerSumFrac :: forall (m :: Type -> Type) a . (Monad m, Floating a) => a -> Fold m (a, Maybe a) a

    streamly-core Streamly.Internal.Data.Fold

    Like powerSum but powers can be negative or fractional. This is slower than powerSum for positive intergal powers.

    >>> powerSumFrac p = lmap (** p) sum
    

  3. windowSum :: forall (m :: Type -> Type) a . (Monad m, Num a) => Fold m (a, Maybe a) a

    streamly-core Streamly.Internal.Data.Fold

    Sum of all the elements in a rolling window: <math> This is the first power sum.

    >>> sum = powerSum 1
    
    Uses Kahan-Babuska-Neumaier style summation for numerical stability of floating precision arithmetic. Space: <math> Time: <math>

  4. windowSumInt :: forall (m :: Type -> Type) a . (Monad m, Integral a) => Fold m (a, Maybe a) a

    streamly-core Streamly.Internal.Data.Fold

    The sum of all the elements in a rolling window. The input elements are required to be intergal numbers. This was written in the hope that it would be a tiny bit faster than sum for Integral values. But turns out that sum is 2% faster than this even for intergal values! Internal

  5. Consume :: s1 -> PipeState s1 s2

    streamly-core Streamly.Internal.Data.Pipe

    No documentation available.

  6. outputDoorBellFromConsumer :: SVar (t :: (Type -> Type) -> Type -> Type) (m :: Type -> Type) a -> MVar ()

    streamly-core Streamly.Internal.Data.SVar.Type

    No documentation available.

  7. outputQueueFromConsumer :: SVar (t :: (Type -> Type) -> Type -> Type) (m :: Type -> Type) a -> IORef ([ChildEvent a], Int)

    streamly-core Streamly.Internal.Data.SVar.Type

    No documentation available.

  8. resumeDecodeUtf8Either :: forall (m :: Type -> Type) . Monad m => DecodeState -> CodePoint -> Stream m Word8 -> Stream m (Either DecodeError Char)

    streamly-core Streamly.Internal.Unicode.Stream

    Pre-release

  9. resumeDecodeUtf8EitherD :: forall (m :: Type -> Type) . Monad m => DecodeState -> CodePoint -> Stream m Word8 -> Stream m (Either DecodeError Char)

    streamly-core Streamly.Internal.Unicode.Stream

    No documentation available.

  10. csum :: (CFoldable f, Num a, Dom f a) => f a -> a

    subcategories Control.Subcategory.Foldable

    No documentation available.

Page 180 of many | Previous | Next