Search found 1 match

by fluffhead
Thu Oct 08, 2015 4:01 am
Forum: Homework
Topic: unbound variable
Replies: 1
Views: 7692

unbound variable

I am trying to use two functions 'addtopowerset' and 'powerset' to get the power set of a list. When I run the powerset function I get an error: unbound variable addtopowerset. I don't understand why I am getting an error. Here is my code: (defun addtopowerset(x pset) (append (list (list x)) (list (...