Skip to content
Matthias Görges edited this page Jun 1, 2015 · 1 revision

#(listlist-flatten tree) listlist-flatten flattens a list of list

Parameter Description
tree The list of lists operated on

Example

Example 1: Verify that an object is a list of lists and flatten it.

> (define lst (list (list 1 2 3) (list 3 4 5)))
> (listlist? lst)
#t
> (listlist-flatten lst)
(1 2 3 4 5 6)
Clone this wiki locally