concatenates lists or other expressions that share the same head.
joins the objects at level n in each of the listi.
- The listi do not need to have head List, but must all have the same head.
- Join works on Association objects, keeping the last value associated with any given key.
- Join works on SparseArray objects by effectively concatenating the corresponding ordinary lists. »
- Join[list1,list2,…,n] handles ragged arrays by effectively concatenating all successive elements at level n in each of the listi. »
Examplesopen allclose all
Generalizations & Extensions (2)
This can also be done with ArrayFlatten:
Neat Examples (2)
Build up the Thue–Morse sequence [more info]: