Flatten a list

Revision as of 12:41, 19 February 2021 by Drkameleon (talk | contribs) (Replaced content with "=={{header|Arturo}}== <lang rebol>print flatten [[1], 2, [[3, 4], 5], [[[]]], [6], 7, 8, []]</lang> {{out}} <pre>1 2 3 4 5 6 7 8</pre>")

Arturo

<lang rebol>print flatten [[1], 2, [[3, 4], 5], [[[]]], [[[6]]], 7, 8, []]</lang>

Output:
1 2 3 4 5 6 7 8