Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun movetofront(word lst)
- (cond
- ((member word lst)
- (remove word lst))
- (T (cons word lst)))
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement