Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. 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).

  2. peekPosixString :: CStringLen -> IO String

    os-string System.OsString.Encoding.Internal

    No documentation available.

  3. peekPosixString' :: CStringLen -> IO String

    os-string System.OsString.Encoding.Internal

    No documentation available.

  4. withPosixString :: String -> (CStringLen -> IO a) -> IO a

    os-string System.OsString.Encoding.Internal

    No documentation available.

  5. withPosixString' :: String -> (CStringLen -> IO a) -> IO a

    os-string System.OsString.Encoding.Internal

    No documentation available.

  6. isInfixOf :: OsString -> OsString -> Bool

    os-string System.OsString.Internal

    Check whether one string is a substring of another.

  7. isPrefixOf :: OsString -> OsString -> Bool

    os-string System.OsString.Internal

    O(n) The isPrefixOf function takes two OsStrings and returns True

  8. isSuffixOf :: OsString -> OsString -> Bool

    os-string System.OsString.Internal

    O(n) The isSuffixOf function takes two OsStrings and returns True iff the first is a suffix of the second. The following holds:

    isSuffixOf x y == reverse x `isPrefixOf` reverse y
    

  9. stripPrefix :: OsString -> OsString -> Maybe OsString

    os-string System.OsString.Internal

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

  10. stripSuffix :: OsString -> OsString -> Maybe OsString

    os-string System.OsString.Internal

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

Page 141 of many | Previous | Next