Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

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

  1. primArrayFromList :: Prim a => [a] -> PrimArray a

    primitive Data.Primitive.PrimArray

    Create a PrimArray from a list.

    primArrayFromList vs = primArrayFromListN (length vs) vs
    

  2. primArrayFromListN :: Prim a => Int -> [a] -> PrimArray a

    primitive Data.Primitive.PrimArray

    Create a PrimArray from a list of a known length. If the length of the list does not match the given length, this throws an exception.

  3. primArrayToList :: Prim a => PrimArray a -> [a]

    primitive Data.Primitive.PrimArray

    Convert a PrimArray to a list.

  4. smallArrayFromList :: [a] -> SmallArray a

    primitive Data.Primitive.SmallArray

    Create a SmallArray from a list.

  5. smallArrayFromListN :: Int -> [a] -> SmallArray a

    primitive Data.Primitive.SmallArray

    Create a SmallArray from a list of a known length. If the length of the list does not match the given length, this throws an exception.

  6. sourceToList :: Monad m => ConduitT () a m () -> m [a]

    conduit Data.Conduit

    Convert a Source into a list. The basic functionality can be explained as:

    sourceToList src = src $$ Data.Conduit.List.consume
    
    However, sourceToList is able to produce its results lazily, which cannot be done when running a conduit pipeline in general. Unlike the Data.Conduit.Lazy module (in conduit-extra), this function performs no unsafe I/O operations, and therefore can only be as lazy as the underlying monad. Since 1.2.6

  7. sinkList :: forall (m :: Type -> Type) a o . Monad m => ConduitT a o m [a]

    conduit Data.Conduit.Combinators

    Consume all values from the stream and return as a list. Note that this will pull all values into memory. Subject to fusion

  8. sourceList :: forall (m :: Type -> Type) a l i u . Monad m => [a] -> Pipe l i a u m ()

    conduit Data.Conduit.Internal

    Convert a list into a source. Since 0.3.0

  9. sourceToList :: Monad m => ConduitT () a m () -> m [a]

    conduit Data.Conduit.Internal

    Convert a Source into a list. The basic functionality can be explained as:

    sourceToList src = src $$ Data.Conduit.List.consume
    
    However, sourceToList is able to produce its results lazily, which cannot be done when running a conduit pipeline in general. Unlike the Data.Conduit.Lazy module (in conduit-extra), this function performs no unsafe I/O operations, and therefore can only be as lazy as the underlying monad. Since 1.2.6

  10. sourceListS :: forall (m :: Type -> Type) a . Monad m => [a] -> StreamProducer m a

    conduit Data.Conduit.Internal.List.Stream

    No documentation available.

Page 53 of many | Previous | Next