From wen-sheng.xie at thomson.net Mon Nov 28 08:22:54 2005 From: wen-sheng.xie at thomson.net (Xie Wen Sheng) Date: Mon, 28 Nov 2005 16:22:54 +0800 Subject: [Small-cl-src] a Clisp problem Message-ID: Hi ,All I'm new to lisp, using GNU Clisp. I have a problem when I do some Lisp programming training. For example, for the list (a (b1 b2) c (d1 d2) (e1 e2 e3) f), I need a function to return all the possible combinations like: ((a b1 c d1 e1 f) (a b1 c d1 e2 f) (a b1 c d1 e3 f) (a b1 c d2 e1 f) (a b1 c d2 e2 f) (a b1 c d2 e3 f) (a b2 c d1 e1 f) (a b2 c d1 e2 f) (a b2 c d1 e3 f) (a b2 c d2 e1 f) (a b2 c d2 e2 f) (a b2 c d2 e3 f)) My tries trended to be unsuccessful. Is it too easy to ask this here? If so, where is the forum for people like me? best regards, XIE Wensheng