lconc
lconc(l_tconcl_list) =>l_result
Description
Uses a tconc structure to efficiently splice a list to the end of another list.
Arguments
|
A |
|
Value Returned
|
Returns l_tconc, which must be a |
Examples
x = tconc(nil 1) ; x is initialized ((1) 1)
lconc(x '(2 3 4)) ; x is now ((1 2 3 4) 4)
lconc(x nil) ; Nothing is added to x.
lconc(x '(5)) ; x is now ((1 2 3 4 5) 5)
x = car( x ) ; x is now (1 2 3 4 5)
Related Topics
Return to top