Go to the first, previous, next, last section, table of contents.


append

Function: append { listA listB -> newlist }
file: 10-C-lists.muf
package: muf
status: alpha

The append function returns a list which is the concatenation of listA and listB. All the cells in listA are copied; listB is shared. (Thus, a nil append is an antique way of copying list a.)

Stack:
[ 'a' 'b' ]l [ 'c' 'd' ]l append --> list
Stack:
list first  list second  list third  list fourth
Stack: 'a' 'b' 'c' 'd'

See section nconc.


Go to the first, previous, next, last section, table of contents.