Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. stripPrefix :: ShortByteString -> ShortByteString -> Maybe ShortByteString

    os-string System.OsString.Data.ByteString.Short.Word16

    O(n) The stripPrefix function takes two ShortByteStrings and returns Just the remainder of the second iff the first is its prefix, and otherwise Nothing.

  2. stripSuffix :: ShortByteString -> ShortByteString -> Maybe ShortByteString

    os-string System.OsString.Data.ByteString.Short.Word16

    O(n) The stripSuffix function takes two ShortByteStrings and returns Just the remainder of the second iff the first is its suffix, and otherwise Nothing.

  3. decodeWithBasePosix :: ShortByteString -> IO String

    os-string System.OsString.Encoding

    This mimics the filepath decoder base uses on unix (using PEP-383), with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  4. decodeWithBasePosix' :: ShortByteString -> IO String

    os-string System.OsString.Encoding

    This mimics the string decoder base uses on unix, with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  5. encodeWithBasePosix :: String -> IO ShortByteString

    os-string System.OsString.Encoding

    This mimics the filepath encoder base uses on unix (using PEP-383), with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  6. encodeWithBasePosix' :: String -> IO ShortByteString

    os-string System.OsString.Encoding

    This mimics the string encoder base uses on unix, with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  7. decodeWithBasePosix :: ShortByteString -> IO String

    os-string System.OsString.Encoding.Internal

    This mimics the filepath decoder base uses on unix (using PEP-383), with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  8. decodeWithBasePosix' :: ShortByteString -> IO String

    os-string System.OsString.Encoding.Internal

    This mimics the string decoder base uses on unix, with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  9. encodeWithBasePosix :: String -> IO ShortByteString

    os-string System.OsString.Encoding.Internal

    This mimics the filepath encoder base uses on unix (using PEP-383), with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

  10. encodeWithBasePosix' :: String -> IO ShortByteString

    os-string System.OsString.Encoding.Internal

    This mimics the string encoder base uses on unix, with the small distinction that we're not truncating at NUL bytes (because we're not at the outer FFI layer).

Page 140 of many | Previous | Next