Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

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

  1. last :: BreakIterator a -> IO TextI

    text-icu Data.Text.ICU.Break

    Reset the breaker to the end of the text to be scanned.

  2. last :: Monad m => Producer ByteString m () -> m (Maybe Word8)

    pipes-bytestring Pipes.ByteString

    Retrieve the last Word8

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

    protolude Protolude.Partial

    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
    

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

    ghc-internal GHC.Internal.Data.List

    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
    

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

    ghc-internal GHC.Internal.Data.OldList

    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

    ghc-internal GHC.Internal.List

    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 :: JSString -> Char

    jsaddle Data.JSString

    O(1) Returns the last character of a JSString, which must be non-empty. Subject to fusion.

  8. last :: HasCallStack => Stream Char -> Char

    jsaddle Data.JSString.Internal.Fusion.Common

    O(n) Returns the last character of a Stream Char, which must be non-empty. Properties

    last . stream = last
    

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

    numeric-prelude NumericPrelude

    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
    

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

    numeric-prelude NumericPrelude.Base

    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
    

Page 11 of many | Previous | Next