Flatten a list: Difference between revisions

→‎{{header|Mathematica}}: Changed to make it more intuitive, and not require knowing what @ does.
No edit summary
(→‎{{header|Mathematica}}: Changed to make it more intuitive, and not require knowing what @ does.)
Line 1,221:
 
=={{header|Mathematica}}==
<lang Mathematica>Flatten@[{{1}, 2, {{3, 4}, 5}, {{{}}}, {{{6}}}, 7, 8, {}}]</lang>
 
=={{header|NewLISP}}==
Anonymous user