Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. (defun example-mutable ()
  2. (let ((x '("the" "quick" "brown" "fox")))
  3. (nbutlast x 1)))
  4.  
  5. (defun example-nonmutable (change-val)
  6. (let ((x '("the" "quick" "brown" "fox")))
  7. (when change-val
  8. (setq x "something else"))
  9. x))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement