Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: flatten-fn , Previous: flash , Up: F , Home: Overview

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

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate