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.

  1. isInfixOf :: (IsSequence seq, Eq (Element seq)) => seq -> seq -> Bool

    mono-traversable Data.Sequences

    isInfixOf takes two sequences and returns true if the first sequence is contained, wholly and intact, anywhere within the second.

  2. isPrefixOf :: (IsSequence seq, Eq (Element seq)) => seq -> seq -> Bool

    mono-traversable Data.Sequences

    isPrefixOf takes two sequences and returns True if the first sequence is a prefix of the second.

  3. isSuffixOf :: (IsSequence seq, Eq (Element seq)) => seq -> seq -> Bool

    mono-traversable Data.Sequences

    isSuffixOf takes two sequences and returns True if the first sequence is a suffix of the second.

  4. stripPrefix :: (IsSequence seq, Eq (Element seq)) => seq -> seq -> Maybe seq

    mono-traversable Data.Sequences

    stripPrefix drops the given prefix from a sequence. It returns Nothing if the sequence did not start with the prefix given, or Just the sequence after the prefix, if it does.

    > stripPrefix "foo" "foobar"
    Just "bar"
    > stripPrefix "abc" "foobar"
    Nothing
    

  5. stripPrefixLazyBS :: ByteString -> ByteString -> Maybe ByteString

    mono-traversable Data.Sequences

    No documentation available.

  6. stripPrefixStrictBS :: ByteString -> ByteString -> Maybe ByteString

    mono-traversable Data.Sequences

    No documentation available.

  7. stripSuffix :: (IsSequence seq, Eq (Element seq)) => seq -> seq -> Maybe seq

    mono-traversable Data.Sequences

    stripSuffix drops the given suffix from a sequence. It returns Nothing if the sequence did not end with the suffix given, or Just the sequence before the suffix, if it does.

    > stripSuffix "bar" "foobar"
    Just "foo"
    > stripSuffix "abc" "foobar"
    Nothing
    

  8. stripSuffixLazyBS :: ByteString -> ByteString -> Maybe ByteString

    mono-traversable Data.Sequences

    No documentation available.

  9. stripSuffixStrictBS :: ByteString -> ByteString -> Maybe ByteString

    mono-traversable Data.Sequences

    No documentation available.

  10. pattern AF_UNIX :: Family

    network-bsd Network.BSD

    UNIX-domain

Page 129 of many | Previous | Next