Jump to content

Flatten a list: Difference between revisions

m (→‎{{header|Wren}}: Minor tidy)
Line 1,565:
(t
(append (flatten (car mylist)) (flatten (cdr mylist))))))</syntaxhighlight>
 
The flatten-list function was added in Emacs 27.1 or earlier, which was in 2020.
 
<syntaxhighlight lang="lisp">
(flatten-list mylist)
</syntaxhighlight>
 
=={{header|Erlang}}==
2

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.