Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. toList :: forall (m :: Type -> Type) a . Monad m => Fold m a [a]

    streamly-core Streamly.Internal.Data.Fold

    Folds the input stream to a list. Warning! working on large lists accumulated as buffers in memory could be very inefficient, consider using Streamly.Data.Array instead.

    >>> toList = Fold.foldr' (:) []
    

  2. toListRev :: forall (m :: Type -> Type) a . Monad m => Fold m a [a]

    streamly-core Streamly.Internal.Data.Fold

    Buffers the input stream to a list in the reverse order of the input. Definition:

    >>> toListRev = Fold.foldl' (flip (:)) []
    
    Warning! working on large lists accumulated as buffers in memory could be very inefficient, consider using Streamly.Array instead.

  3. fromList :: (MonadIO m, Unbox a) => [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray

    Create a MutArray from a list. The list must be of finite size.

  4. fromListN :: (MonadIO m, Unbox a) => Int -> [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray

    Create a MutArray from the first N elements of a list. The array is allocated to size N, if the list terminates before N elements then the array may hold less than N elements.

  5. fromListRev :: (MonadIO m, Unbox a) => [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray

    Like fromList but writes the contents of the list in reverse order.

  6. fromListRevN :: (MonadIO m, Unbox a) => Int -> [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray

    Like fromListN but writes the array in reverse order. Pre-release

  7. pinnedFromList :: (MonadIO m, Unbox a) => [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray

    Like fromList but creates a pinned array.

  8. pinnedFromListN :: (MonadIO m, Unbox a) => Int -> [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray

    Like fromListN but creates a pinned array.

  9. toList :: (MonadIO m, Unbox a) => MutArray a -> m [a]

    streamly-core Streamly.Internal.Data.MutArray

    Convert a MutArray into a list.

  10. fromList :: MonadIO m => [a] -> m (MutArray a)

    streamly-core Streamly.Internal.Data.MutArray.Generic

    No documentation available.

Page 176 of many | Previous | Next