Hoogle Search

Within LTS Haskell 24.25 (ghc-9.10.3)

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

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

  2. last :: MonadThrow m => [a] -> m a

    listsafe Data.List.Safe

    Extract the last element of a list. Empty lists throw an EmptyListException.

  3. last :: TreePos Empty a -> TreePos Empty a

    rosezipper Data.Tree.Zipper

    The last space in the current forest.

  4. last :: StringCells s => s -> StringCellChar s

    string-class Data.String.Class

    No documentation available.

  5. last :: NonEmpty a -> a

    verset Verset

    Extract the last element of the stream.

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

    xmonad-contrib XMonad.Config.Prime

    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

    xmonad-contrib XMonad.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. LastStmt :: XLastStmt idL idR body -> body -> Maybe Bool -> SyntaxExpr idR -> StmtLR idL idR body

    ghc Language.Haskell.Syntax.Expr

    No documentation available.

  9. newtype Last' a

    Cabal-syntax Distribution.Compat.Semigroup

    A copy of Last.

  10. Last' :: a -> Last' a

    Cabal-syntax Distribution.Compat.Semigroup

    No documentation available.

Page 20 of many | Previous | Next