Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,7 +1,5 @@
|
|||
(1 2)
|
||||
(1 3)
|
||||
(1)
|
||||
(2 3)
|
||||
(2)
|
||||
(3)
|
||||
()
|
||||
(define (power_set_iter set)
|
||||
(let loop ((res '(())) (s set))
|
||||
(if (empty? s)
|
||||
res
|
||||
(loop (append (map (lambda (i) (cons (car s) i)) res) res) (cdr s)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue