[Next] [Prev] [Right] [Left] [Up] [Index] [Root]
Creation of New Lists

Creation of New Lists

Here, S denotes the list [* s_1, ..., s_n *], while T denotes the list [* t_1, ..., t_m *].

S cat T : List, List -> List
The list formed by concatenating the terms of the list S with the terms of the list T, i.e. the list [* s_1, ..., s_n, t_1, ..., t_m *].
S cat:= T : List, List ->
(Procedure.) Destructively concatenate the terms of the list T to S; i.e. so S becomes the list [* s_1, ..., s_n, t_1, ..., t_m *].
Append(S, x) : List, Elt -> List
The list formed by adding the object x to the end of the list S, i.e. the list [* s_1, ... s_n, x *].
Append(~S, x) : List, Elt ->
(Procedure.) Destructively add the object x to the end of the list S; i.e. so S becomes the list [* s_1, ... s_n, x *].
Prune(S) : List -> List
The list formed by removing the last term of the list S, i.e. the list [* s_1, ..., s_(n - 1) *].
Prune(~S) : List ->
(Procedure.) Destructively remove the last term of the list S; i.e. so S becomes the list [* s_1, ..., s_(n - 1) *].
SequenceToList(Q) : SeqEnum -> List
Seqlist(Q) : SeqEnum -> List
Given a sequence Q, construct a list whose terms are the elements of Q taken in the same order.
TupleToList(T) : Tup -> List
Tuplist(T) : Tup -> List
Given a tuple T, construct a list whose terms are the elements of T taken in the same order.
[Next] [Prev] [Right] [Left] [Up] [Index] [Root]