Commande:

STD-SPLIT-LIST

Famille: LISTES

Desc: copyright std-lib T splits list into sublists of maximal length n

Syntaxe: n lst

Autres informations:

;;; STD-SPLIT-LIST splits list into sublists of maximal length n

;;; n must be > 0!

;;; Iterative version by Serge Pashkov, safer than recursive version

;;; (std-split-list 2 '(1 2 3 4 5 6)) => ((1 2) (3 4) (5 6))

E:\powerclic\Ut_list.lsp