Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. fromListRevN :: Unbox a => Int -> [a] -> Array a

    streamly-core Streamly.Internal.Data.Array

    Create an Array from the first N elements of a list in reverse order. The array is allocated to size N, if the list terminates before N elements then the array may hold less than N elements. Pre-release

  2. pinnedFromList :: Unbox a => [a] -> Array a

    streamly-core Streamly.Internal.Data.Array

    Like fromList but creates a pinned array.

  3. pinnedFromListN :: Unbox a => Int -> [a] -> Array a

    streamly-core Streamly.Internal.Data.Array

    Like fromListN but creates a pinned array.

  4. toList :: Unbox a => Array a -> [a]

    streamly-core Streamly.Internal.Data.Array

    Convert an Array into a list.

  5. fromList :: [a] -> Array a

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

    No documentation available.

  6. fromListN :: Int -> [a] -> Array a

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

    No documentation available.

  7. toList :: Array a -> [a]

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

    No documentation available.

  8. 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' (:) []
    

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

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

Page 175 of many | Previous | Next