Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. CL-USER> (defun @-processor (stream char)
  2. 'oh-noes)
  3. ;Compiler warnings :
  4. ; In @-PROCESSOR: Unused lexical variable CHAR
  5. ; In @-PROCESSOR: Unused lexical variable STREAM
  6. @-PROCESSOR
  7. CL-USER> (set-macro-character #\@ #'@-processor)
  8. T
  9. CL-USER> '(@ a b c)
  10. (OH-NOES A B C)
  11. CL-USER> (setf *readtable* (copy-readtable nil))
  12. #<READTABLE #x302000D8048D>
  13. CL-USER> '(@ a b c)
  14. (@ A B C)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement