Hoogle Search

Within LTS Haskell 24.63 (ghc-9.10.3)

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

  1. toLazyByteString :: Serializable α => α -> ByteString

    data-serializer Data.Serializer

    A shorthand for buildLazyByteString . put.

  2. inlinesToByteString :: Inlines -> ByteString

    djot Djot.AST

    No documentation available.

  3. inlinesToByteString :: Inlines -> ByteString

    djot Djot.Html

    No documentation available.

  4. withByteString :: Parser s a -> Parser s (a, ByteString)

    djot Djot.Parse

    Returns result of parse together with the bytestring consumed.

  5. toLazyByteString :: Builder -> ByteString

    fast-builder Data.ByteString.FastBuilder

    Turn a Builder into a lazy ByteString. Performance hint: when the resulting ByteString does not fit in one chunk, this function forks a thread. Due to this, the performance degrades sharply if you use this function from a bound thread. Note in particular that the main thread is a bound thread when you use ghc -threaded. To avoid this problem, do one of these:

    • Make sure the resulting ByteString is consumed in an unbound thread. Consider using runInUnboundThread for this.
    • Use other function to run the Builder instead. Functions that don't return a lazy ByteString do not have this issue.
    • Link your program without -threaded.

  6. toLazyByteStringWith :: Int -> Int -> Builder -> ByteString

    fast-builder Data.ByteString.FastBuilder

    Like toLazyByteString, but allows the user to specify the initial and the subsequent desired buffer sizes.

  7. toStrictByteString :: Builder -> ByteString

    fast-builder Data.ByteString.FastBuilder

    Turn a Builder into a strict ByteString.

  8. InsertByteString :: !Ptr Word8 -> ByteString -> Response

    fast-builder Data.ByteString.FastBuilder.Internal

    The builder thread has partially filled the current chunk, and wants to emit the bytestring to be included in the final output.

  9. toLazyByteString :: Builder -> ByteString

    fast-builder Data.ByteString.FastBuilder.Internal

    Turn a Builder into a lazy ByteString. Performance hint: when the resulting ByteString does not fit in one chunk, this function forks a thread. Due to this, the performance degrades sharply if you use this function from a bound thread. Note in particular that the main thread is a bound thread when you use ghc -threaded. To avoid this problem, do one of these:

    • Make sure the resulting ByteString is consumed in an unbound thread. Consider using runInUnboundThread for this.
    • Use other function to run the Builder instead. Functions that don't return a lazy ByteString do not have this issue.
    • Link your program without -threaded.

  10. toLazyByteStringWith :: Int -> Int -> Builder -> ByteString

    fast-builder Data.ByteString.FastBuilder.Internal

    Like toLazyByteString, but allows the user to specify the initial and the subsequent desired buffer sizes.

Page 74 of many | Previous | Next