Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » lists and sequences » first
next | previous | forward | backward | up | index | toc

first -- first element of a list

Description

i1 : first {a,b,c,d,e}

o1 = a

o1 : Symbol
i2 : first gens(QQ[x,y,z])

o2 = x

o2 : QQ[x..z]

See also

For the programmer

The object first is a function closure.


The source of this document is in Macaulay2Doc/functions/first-doc.m2:27:0.