ListTools
JoinSequence
interspace the elements of a list with objects
Calling Sequence
Parameters
Description
Examples
JoinSequence(L, seps)
L
-
list
seps
any sequence of Maple objects
The JoinSequence(L, seps) function inserts the separators seps between the elements of the list L.
In the case that the separator is a single Maple object, using the routine ListTools[Join] results in better performance.
with⁡ListTools:
L≔1,2,3,4,5
JoinSequence⁡L,x,y
1,x,y,2,x,y,3,x,y,4,x,y,5
See Also
ListTools[Join]
type/list
Download Help Document