lisp: consolidate a list-of-lists into a single list?

Posted by Cheeso on Stack Overflow See other posts from Stack Overflow or by Cheeso
Published on 2010-04-11T18:44:22Z Indexed on 2010/04/11 18:53 UTC
Read the original article Hit count: 204

Filed under:
|

Still working on lisp recipes and idioms.

I have a list like this:

((a b c) (d e f) nil (g h))

I'd like to consolidate that to one list,

(a b c d e f g h)

Seems like there oughta be a one-liner for that.

© Stack Overflow or respective owner

Related posts about lisp

Related posts about newbie