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. last :: forall (n :: Nat) a . Vec ('S n) a -> a

    vec Data.Vec.Lazy

    The last element of a Vec.

  2. last :: forall (n :: Nat) a . SNatI n => Vec ('S n) a -> a

    vec Data.Vec.Lazy.Inline

    The last element of a Vec.

  3. last :: forall (n :: Nat) a . SNatI n => Vec ('S n) a -> a

    vec Data.Vec.Pull

    The last element of a Vec.

  4. last :: MonoFoldable mono => NonNull mono -> Element mono

    classy-prelude-yesod ClassyPrelude.Yesod

    Return the last element of a monomorphic container. Safe version of lastEx, only works on monomorphic containers wrapped in a NonNull.

  5. last :: HasCallStack => [a] -> a

    constrained-categories Control.Category.Constrained.Prelude

    Extract the last element of a list, which must be finite and non-empty. WARNING: This function is partial. Consider using unsnoc instead.

    Examples

    >>> last [1, 2, 3]
    3
    
    >>> last [1..]
    * Hangs forever *
    
    >>> last []
    *** Exception: Prelude.last: empty list
    

  6. last :: HasCallStack => [a] -> a

    constrained-categories Control.Category.Hask

    Extract the last element of a list, which must be finite and non-empty. WARNING: This function is partial. Consider using unsnoc instead.

    Examples

    >>> last [1, 2, 3]
    3
    
    >>> last [1..]
    * Hangs forever *
    
    >>> last []
    *** Exception: Prelude.last: empty list
    

  7. last :: HasCallStack => [a] -> a

    copilot-language Copilot.Language.Prelude

    Extract the last element of a list, which must be finite and non-empty. WARNING: This function is partial. Consider using unsnoc instead.

    Examples

    >>> last [1, 2, 3]
    3
    
    >>> last [1..]
    * Hangs forever *
    
    >>> last []
    *** Exception: Prelude.last: empty list
    

  8. last :: LogEntryOperation -> Maybe Bool

    gogol-logging Gogol.Logging

    Optional. Set this to True if this is the last log entry in the operation.

  9. last :: LogEntryOperation -> Maybe Bool

    gogol-logging Gogol.Logging.Types

    Optional. Set this to True if this is the last log entry in the operation.

  10. last :: forall (u :: Type -> Type) a (v :: Type -> Type) b . (Vector u a, Vector v b) => Vector u v (a, b) -> (a, b)

    hybrid-vectors Data.Vector.Hybrid

    O(1) Last element

Page 19 of many | Previous | Next