-- Status: rewritten July 2018
-- Author: Lily Silverstein

doc///
 Key
  last
 Headline
  last element of a list
 Usage
  last L
 Inputs
  L:
   a list or sequence
 Outputs
  l:
   the last element of {\tt L}
 Description
  Example
   last {a,b,c,d,e}
   last gens(QQ[x,y,z])
 SeeAlso
  first
  take
  select
  position
  "lists and sequences"
///
