Macaulay2 » Documentation
Packages » Macaulay2Doc :: VerticalList
next | previous | forward | backward | up | index | toc

VerticalList -- a type of visible self-initializing list that prints vertically



All operations on lists apply to vertical lists, since they inherit from the type VisibleList. The only difference is the way that a vertical list is displayed vertically.
i1 : a .. e

o1 = (a, b, c, d, e)

o1 : Sequence
i2 : v = VerticalList oo

o2 = {a}

o2 : VerticalList
i3 : v_1

o3 = b

o3 : Symbol
i4 : length v

o4 = 5
One may get a normal list back from a vertical list as follows.
i5 : toList v

o5 = {a, b, c, d, e}

o5 : List

See also

Types of vertical list :

For the programmer

The object VerticalList is a self initializing type, with ancestor classes List < VisibleList < BasicList < Thing.