SketchyLISP Reference |
Copyright (C) 2007 Nils M Holm |
<<[iota] | [Index] | [lcm]>> |
Conformance: SketchyLISP Extension
Purpose: Extract the last member of a list.
Arguments:
X - list
Implementation:
(define (last x) (car (reverse x)))
Example:
(last '(a b c d e f)) => f
<<[iota] | [Index] | [lcm]>> |