last: Returns the last element of a list. Unsafe! I.e. expects a...

View source: R/Data.List.r

lastR Documentation

Returns the last element of a list. Unsafe! I.e. expects a non-empty list, or will throw an error.

Description

last :: [a] -> a

Usage

last(xs)

Arguments

xs

list


schnecki/rhaskell documentation built on Oct. 30, 2022, 10:23 a.m.