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. mkFastStringShortByteString :: ShortByteString -> FastString

    ghc-lib-parser GHC.Data.FastString

    Create a FastString from an existing ShortByteString without copying.

  2. unsafeMkByteString :: String -> ByteString

    ghc-lib-parser GHC.Data.FastString

    No documentation available.

  3. stringBufferFromByteString :: ByteString -> StringBuffer

    ghc-lib-parser GHC.Data.StringBuffer

    Convert a UTF-8 encoded ByteString into a 'StringBuffer. This really relies on the internals of both ByteString and StringBuffer. O(n) (but optimized into a memcpy by bytestring under the hood)

  4. mkHsDocStringChunkUtf8ByteString :: ByteString -> HsDocStringChunk

    ghc-lib-parser GHC.Hs.DocString

    Create a HsDocString from a UTF8-encoded ByteString.

  5. getByteString :: ReadBinHandle -> Int -> IO ByteString

    ghc-lib-parser GHC.Utils.Binary

    Get a ByteString whose length is known

  6. putByteString :: WriteBinHandle -> ByteString -> IO ()

    ghc-lib-parser GHC.Utils.Binary

    Put a ByteString without its length (can't be read back without knowing the length!)

  7. utf8CompareShortByteString :: ShortByteString -> ShortByteString -> Ordering

    ghc-lib-parser GHC.Utils.Encoding.UTF8

    No documentation available.

  8. utf8CountCharsShortByteString :: ShortByteString -> Int

    ghc-lib-parser GHC.Utils.Encoding.UTF8

    No documentation available.

  9. utf8DecodeByteString :: ByteString -> [Char]

    ghc-lib-parser GHC.Utils.Encoding.UTF8

    Decode a ByteString containing a UTF-8 string.

  10. utf8DecodeShortByteString :: ShortByteString -> [Char]

    ghc-lib-parser GHC.Utils.Encoding.UTF8

    No documentation available.

Page 57 of many | Previous | Next