append1
append1(l_listg_arg) =>l_result
Description
Adds new arguments to the end of a list.
Returns a list just like l_list with g_arg added as the last element of the list.
This is a slow operation and the functions tconc, lconc, and nconc can be used instead for adding an element or a list to the end of a list. The command cons is even better if the new list elements can be added to the beginning of the list.
Arguments
Value Returned
Examples
Similar to append, append1 duplicates the top-level list cells of l_list.
append1('(1 2 3) 4)
=> (1 2 3 4)
Related Topics
Return to top