next | previous | forward | backward | up | top | index | toc | home
Macaulay2 > The Macaulay2 language > lists and sequences > toSequence

toSequence -- convert to sequence

Description

toSequence x -- yields the elements of a list x as a sequence.

If x is a sequence, then x is returned.

i1 : toSequence {1,2,3}

o1 = (1, 2, 3)

o1 : Sequence

Ways to use toSequence :