How to create all possible pairs subsets from a list in conman lisp. For example the list A contain four elements
list A= ("A" "B" "C" "D")
the expected output is as follows:
(("A","B"),("A","C"), ("A","D"),("B","C"),("B","D"), ("C","D"))
Could someone please help me out to generate these subsets.
Thanks a lot
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…