Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. addConsumes :: [MediaType] -> Swagger -> Swagger

    servant-swagger Servant.Swagger.Internal

    Add accepted content types to every operation in the spec.

  2. 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>

  3. 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
    

  4. 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>

  5. 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

  6. Consume :: s1 -> PipeState s1 s2

    streamly-core Streamly.Internal.Data.Pipe

    No documentation available.

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

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

    No documentation available.

  8. 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.

  9. 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

  10. 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.

Page 179 of many | Previous | Next