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.

  1. word32HexFixed :: FixedPrim Word32

    bytestring Data.ByteString.Builder.Prim

    Encode a Word32 using 8 nibbles.

  2. word64HexFixed :: FixedPrim Word64

    bytestring Data.ByteString.Builder.Prim

    Encode a Word64 using 16 nibbles.

  3. word8HexFixed :: FixedPrim Word8

    bytestring Data.ByteString.Builder.Prim

    Encode a Word8 using 2 nibbles (hexadecimal digits).

  4. data FixedPrim a

    bytestring Data.ByteString.Builder.Prim.Internal

    A builder primitive that always results in a sequence of bytes of a pre-determined, fixed size.

  5. fixedPrim :: Int -> (a -> Ptr Word8 -> IO ()) -> FixedPrim a

    bytestring Data.ByteString.Builder.Prim.Internal

    No documentation available.

  6. liftFixedToBounded :: FixedPrim a -> BoundedPrim a

    bytestring Data.ByteString.Builder.Prim.Internal

    Lift a FixedPrim to a BoundedPrim.

  7. isInfixOf :: ByteString -> ByteString -> Bool

    bytestring Data.ByteString.Char8

    Check whether one string is a substring of another.

  8. isPrefixOf :: ByteString -> ByteString -> Bool

    bytestring Data.ByteString.Char8

    O(n) The isPrefixOf function takes two ByteStrings and returns True if the first is a prefix of the second.

  9. isSuffixOf :: ByteString -> ByteString -> Bool

    bytestring Data.ByteString.Char8

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

  10. stripPrefix :: ByteString -> ByteString -> Maybe ByteString

    bytestring Data.ByteString.Char8

    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.

Page 28 of many | Previous | Next