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.
stripPrefix :: ShortByteString -> ShortByteString -> Maybe ShortByteStringos-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.
stripSuffix :: ShortByteString -> ShortByteString -> Maybe ShortByteStringos-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.
decodeWithBasePosix :: ShortByteString -> IO Stringos-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).
decodeWithBasePosix' :: ShortByteString -> IO Stringos-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).
encodeWithBasePosix :: String -> IO ShortByteStringos-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).
encodeWithBasePosix' :: String -> IO ShortByteStringos-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).
decodeWithBasePosix :: ShortByteString -> IO Stringos-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).
decodeWithBasePosix' :: ShortByteString -> IO Stringos-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).
encodeWithBasePosix :: String -> IO ShortByteStringos-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).
encodeWithBasePosix' :: String -> IO ShortByteStringos-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).