Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. unfoldMany :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => Unfold m a b -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    Like concatMap but uses an Unfold for stream generation. Unlike concatMap this can fuse the Unfold code with the inner loop and therefore provide many times better performance.

  2. unfoldManyInterleave :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => Unfold m a b -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    Like unfoldMany but interleaves the streams in the same way as interleave behaves instead of appending them. Pre-release

  3. unfoldManyRoundRobin :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => Unfold m a b -> t m a -> t m b

    streamly Streamly.Internal.Data.Stream.IsStream

    Like unfoldMany but executes the streams in the same way as roundrobin. Pre-release

  4. foldMany :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => Fold m a b -> t m a -> t m b

    streamly Streamly.Prelude

    Apply a Fold repeatedly on a stream and emit the fold outputs in the output stream. To sum every two contiguous elements in a stream:

    >>> f = Fold.take 2 Fold.sum
    
    >>> Stream.toList $ Stream.foldMany f $ Stream.fromList [1..10]
    [3,7,11,15,19]
    
    On an empty stream the output is empty:
    >>> Stream.toList $ Stream.foldMany f $ Stream.fromList []
    []
    
    Note Stream.foldMany (Fold.take 0) would result in an infinite loop in a non-empty stream.

  5. unfoldMany :: forall t (m :: Type -> Type) a b . (IsStream t, Monad m) => Unfold m a b -> t m a -> t m b

    streamly Streamly.Prelude

    Like concatMap but uses an Unfold for stream generation. Unlike concatMap this can fuse the Unfold code with the inner loop and therefore provide many times better performance.

  6. parseAnyfromText :: N3Parser a -> Maybe QName -> Text -> Either String a

    swish Swish.RDF.Parser.N3

    Function to supply initial context and parse supplied term.

  7. manyTill :: Parser s a -> Parser s b -> Parser s [a]

    swish Swish.RDF.Parser.Utils

    Accept zero or more runs of the parser ending with the delimiter.

  8. skipMany :: Parser s a -> Parser s ()

    swish Swish.RDF.Parser.Utils

    Run the parser many times and ignore the result.

  9. skipMany1 :: Parser s a -> Parser s ()

    swish Swish.RDF.Parser.Utils

    Run the parser many1 times and ignore the result.

  10. xsdAnyURI :: ScopedName

    swish Swish.RDF.Vocabulary.XSD

    xsd:anyURI from http://www.w3.org/TR/xmlschema-2/#anyURI.

Page 246 of many | Previous | Next