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.
createModuleExWithFixities :: [(String, Fixity)] -> Located (HsModule GhcPs) -> ModuleExhlint Language.Haskell.HLint No documentation available.
fixities :: ParseFlags -> [FixityInfo]hlint Language.Haskell.HLint List of fixities to be aware of, defaults to those defined in base.
parseFlagsAddFixities :: [FixityInfo] -> ParseFlags -> ParseFlagshlint Language.Haskell.HLint Given some fixities, add them to the existing fixities in ParseFlags.
isInfixOf :: ByteString -> ByteString -> Boolrio RIO.ByteString Check whether one string is a substring of another.
isPrefixOf :: ByteString -> ByteString -> Boolrio RIO.ByteString O(n) The isPrefixOf function takes two ByteStrings and returns True if the first is a prefix of the second.
isSuffixOf :: ByteString -> ByteString -> Boolrio RIO.ByteString O(n) The isSuffixOf function takes two ByteStrings and returns True iff the first is a suffix of the second. The following holds:
isSuffixOf x y == reverse x `isPrefixOf` reverse y
However, the real implementation uses memcmp to compare the end of the string only, with no reverse required..stripPrefix :: ByteString -> ByteString -> Maybe ByteStringrio RIO.ByteString O(n) The stripPrefix function takes two ByteStrings and returns Just the remainder of the second iff the first is its prefix, and otherwise Nothing.
stripSuffix :: ByteString -> ByteString -> Maybe ByteStringrio RIO.ByteString O(n) The stripSuffix function takes two ByteStrings and returns Just the remainder of the second iff the first is its suffix, and otherwise Nothing.
isPrefixOf :: ByteString -> ByteString -> Boolrio RIO.ByteString.Lazy O(n) The isPrefixOf function takes two ByteStrings and returns True iff the first is a prefix of the second.
isSuffixOf :: ByteString -> ByteString -> Boolrio RIO.ByteString.Lazy O(n) The isSuffixOf function takes two ByteStrings and returns True iff the first is a suffix of the second. The following holds:
isSuffixOf x y == reverse x `isPrefixOf` reverse y