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.
isSuffixOf :: PosixString -> PosixString -> Boolos-string System.OsString.Posix 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
stripPrefix :: PosixString -> PosixString -> Maybe PosixStringos-string System.OsString.Posix 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.
stripSuffix :: PosixString -> PosixString -> Maybe PosixStringos-string System.OsString.Posix 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.
isInfixOf :: WindowsString -> WindowsString -> Boolos-string System.OsString.Windows Check whether one string is a substring of another.
isPrefixOf :: WindowsString -> WindowsString -> Boolos-string System.OsString.Windows O(n) The isPrefixOf function takes two OsStrings and returns True
isSuffixOf :: WindowsString -> WindowsString -> Boolos-string System.OsString.Windows 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
stripPrefix :: WindowsString -> WindowsString -> Maybe WindowsStringos-string System.OsString.Windows 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.
stripSuffix :: WindowsString -> WindowsString -> Maybe WindowsStringos-string System.OsString.Windows 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.
linTransFixedPoint :: LinearTransform d -> Doublestatistics Statistics.Distribution.Transform Get fixed point of linear transformation
isPrefixOf :: (Storable a, Eq a) => Vector a -> Vector a -> Boolstorablevector Data.StorableVector O(n) The isPrefixOf function takes two Vector and returns True iff the first is a prefix of the second.