Package: alexandria

Function first-elt

Lambda List

first-elt (sequence)

Details

Returns the first element of sequence. Signals an error of type type-error if sequence is not a sequence, or is an empty sequence.

Examples

 (first-elt "abc") => #a
 (first-elt '(a b c)) => A    
 

See also