Search found 2 matches
- Sat Feb 18, 2012 7:43 pm
- Forum: Common Lisp
- Topic: Loop through strings
- Replies: 2
- Views: 11838
Re: Loop through strings
Yeah, your code looks a lot like Scheme in Common Lisp ... Anyway, maybe what you want is something like this~ (defun make-set (x) (cond ((endp x) x) (t (adjoin (first x) (make-set (rest x)))))) (defun string-set-exclusive-or (lhs rhs) (coerce (set-exclusive-or (make-set (coerce lhs 'list)) (make-se...
- Thu Feb 09, 2012 9:02 pm
- Forum: Common Lisp
- Topic: Get a list of variables currently in scope
- Replies: 6
- Views: 7683
Re: Get a list of variables currently in scope
Maybe represent those items with an a-list or something like that will be easier.