Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. EndSequence :: Code

    HsYAML Data.YAML.Token

    Ends sequence content.

  2. isSubsequenceOf :: Eq a => [a] -> [a] -> Bool

    basic-prelude BasicPrelude

    The isSubsequenceOf function takes two lists and returns True if all the elements of the first list occur, in order, in the second. The elements do not have to occur consecutively. isSubsequenceOf x y is equivalent to x `elem` (subsequences y). Note: isSubsequenceOf is often used in infix form.

    Examples

    >>> "GHC" `isSubsequenceOf` "The Glorious Haskell Compiler"
    True
    
    >>> ['a','d'..'z'] `isSubsequenceOf` ['a'..'z']
    True
    
    >>> [1..10] `isSubsequenceOf` [10,9..0]
    False
    
    For the result to be True, the first list must be finite; for the result to be False, the second list must be finite:
    >>> [0,2..10] `isSubsequenceOf` [0..]
    True
    
    >>> [0..] `isSubsequenceOf` [0,2..10]
    False
    
    >>> [0,2..] `isSubsequenceOf` [0..]
    * Hangs forever*
    

  3. subsequences :: [a] -> [[a]]

    basic-prelude BasicPrelude

    The subsequences function returns the list of all subsequences of the argument.

    Laziness

    subsequences does not look ahead unless it must:
    >>> take 1 (subsequences undefined)
    [[]]
    
    >>> take 2 (subsequences ('a' : undefined))
    ["","a"]
    

    Examples

    >>> subsequences "abc"
    ["","a","b","ab","c","ac","bc","abc"]
    
    This function is productive on infinite inputs:
    >>> take 8 $ subsequences ['a'..]
    ["","a","b","ab","c","ac","bc","abc"]
    

  4. eventGetEventSequence :: (HasCallStack, MonadIO m, IsEvent a) => a -> m EventSequence

    gi-gdk4 GI.Gdk.Objects.Event

    Returns the event sequence to which the event belongs. Related touch events are connected in a sequence. Other events typically don't have event sequence information.

  5. module GI.Gdk.Structs.EventSequence

    GdkEventSequence is an opaque type representing a sequence of related touch events.

  6. newtype EventSequence

    gi-gdk4 GI.Gdk.Structs.EventSequence

    Memory-managed wrapper type.

  7. EventSequence :: ManagedPtr EventSequence -> EventSequence

    gi-gdk4 GI.Gdk.Structs.EventSequence

    No documentation available.

  8. class HasSubsequences a

    skeletest Skeletest.Internal.Predicate

    No documentation available.

  9. class HasSubsequences a

    skeletest Skeletest.Predicate

    No documentation available.

  10. ErrorCorruptSequence :: Error

    sqlite-simple Database.SQLite.Simple

    No documentation available.

Page 60 of many | Previous | Next