Subject: Re: Power
From: Erik Naggum <>
Date: 03 Mar 1995 18:48:46 UT
Newsgroups: comp.lang.lisp
Message-ID: <>

[J Jacobs]

|   Can someone tell me how to impliment a function power set of 
|   a set in Common Lisp. 
|     The power set of eg. '(a b c) is 
|     '((a b c) (a b) (a c) (b c) (a) (b) (c) nil)
|   It should work for any number of elements in a set.

what is the difference between (power '(b c)) and (power '(a b c))?
this should allow you to make a recursive definition, and ... voila!

miracle of miracles.  look what the Net dragged in.