Clamps Dictionary
flatten
Function
(flatten form)
Remove all brackets except the outmost from form. Non-recursive, non-stack version from Rosetta Code.
Arguments
form |
A Common Lisp form. |
Examples
(flatten '((a b) (((c d) (e f)) (g h)) (i k))) ;; -> (a b c d e f g h i k)
See also
Created: 2025-02-18 Di 12:58