Hoogle Search
Within LTS Haskell 24.17 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
- last :: forall (n :: Natural) a . Unbox a => Vector (n + 1) a -> a- vector-sized - Data.Vector.Unboxed.Sized - O(1) Yield the last element of a non-empty vector. 
- last :: BreakIterator a -> IO TextI- text-icu - Data.Text.ICU.Break - Reset the breaker to the end of the text to be scanned. 
- 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 
- 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 
- 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 
- last :: Monad m => Producer ByteString m () -> m (Maybe Word8)- pipes-bytestring - Pipes.ByteString - Retrieve the last Word8 
- 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 
- 
jsaddle Data.JSString O(1) Returns the last character of a JSString, which must be non-empty. Subject to fusion. 
- 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 
- 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 
