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.
last :: BreakIterator a -> IO TextItext-icu Data.Text.ICU.Break Reset the breaker to the end of the text to be scanned.
last :: Monad m => Producer ByteString m () -> m (Maybe Word8)pipes-bytestring Pipes.ByteString Retrieve the last Word8
last :: HasCallStack => [a] -> aprotolude 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
last :: HasCallStack => [a] -> aghc-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
last :: HasCallStack => [a] -> aghc-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
last :: HasCallStack => [a] -> aghc-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
-
jsaddle Data.JSString O(1) Returns the last character of a JSString, which must be non-empty. Subject to fusion.
last :: HasCallStack => Stream Char -> Charjsaddle Data.JSString.Internal.Fusion.Common O(n) Returns the last character of a Stream Char, which must be non-empty. Properties
last . stream = last
last :: HasCallStack => [a] -> anumeric-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
last :: HasCallStack => [a] -> anumeric-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