[Small-cl-src] a Clisp problem

28 Nov
2005
28 Nov
'05
8:22 a.m.
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
7155
Age (days ago)
7155
Last active (days ago)
0 comments
1 participants
participants (1)
-
Xie Wen Sheng