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. fromListN :: Unbox a => Int -> [a] -> Array a

    streamly-core Streamly.Data.Array

    Create an Array 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.

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

    streamly-core Streamly.Data.Array

    Convert an Array into a list.

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

    streamly-core Streamly.Data.Array.Generic

    No documentation available.

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

    streamly-core Streamly.Data.Array.Generic

    No documentation available.

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

    streamly-core Streamly.Data.Array.Generic

    No documentation available.

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

    streamly-core Streamly.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' (:) []
    

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

    streamly-core Streamly.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.

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

    streamly-core Streamly.Data.MutArray

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

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

    streamly-core Streamly.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.

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

    streamly-core Streamly.Data.MutArray

    Convert a MutArray into a list.

Page 173 of many | Previous | Next