Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
writeTixFile :: HpcFlags -> Boolbase GHC.RTS.Flags Controls whether the program.tix file should be written after the execution of the program.
isInfixOf :: ByteString -> ByteString -> Boolbytestring Data.ByteString Check whether one string is a substring of another.
isPrefixOf :: ByteString -> ByteString -> Boolbytestring Data.ByteString O(n) The isPrefixOf function takes two ByteStrings and returns True if the first is a prefix of the second.
isSuffixOf :: ByteString -> ByteString -> Boolbytestring Data.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 ByteStringbytestring Data.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 ByteStringbytestring Data.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.
doubleHexFixed :: Double -> Builderbytestring Data.ByteString.Builder Encode an IEEE Double using 16 nibbles.
floatHexFixed :: Float -> Builderbytestring Data.ByteString.Builder Encode an IEEE Float using 8 nibbles.
int16HexFixed :: Int16 -> Builderbytestring Data.ByteString.Builder Encode a Int16 using 4 nibbles.
int32HexFixed :: Int32 -> Builderbytestring Data.ByteString.Builder Encode a Int32 using 8 nibbles.