From ... Path: bga.com!news.sprintlink.net!pipex!sunic!trane.uninett.no!nac.no!ifi.uio.no!gyda.ifi.uio.no!enag From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Power Date: 03 Mar 1995 18:48:46 UT Organization: Naggum Software; +47 2295 0313 Lines: 14 Message-ID: <3003245326.092020@naggum.no> References: <3j198s$4ig@itu1.sun.ac.za> [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.