Input Box for Chapter 7 and Beyond
function makeSet(lat) { return isNull(lat) ? null : cons(car(lat), multirember(car(lat), makeSet(cdr(lat)))) } s = str2sx("(apple 3 pear 4 9 apple 3 4)"); sx2str(makeSet(s));
Output Box
It comes out here.