I am using a program from the Simply Scheme book:
(require (planet dyoo/simply-scheme))
(define (combinations size set)
(cond ((= size 0) '(()))
((empty? set) '())
(else (append (prepend-every (first set)
(combinations (- size 1)
(butfirst set)))
(combinations size (butfirst set))))))
But, when I run it I get this error:
expand: unbound identifier in module in: prepend-every
Any ideas on how to fix?
I am using DrRacket