Edit this page |
Blame
Defining a scheme sexp comment with a reader macro
CL-USER(1): (set-dispatch-macro-character #\# #\; (lambda (s c n) c n (read s t nil t) (values)))
CL-USER(2): (+ 3 (+ 2 3) 1)
9
CL-USER(3): (+ 3 #;(+ 2 3) 1)
4
Special thanks to Ed Langley on #common-lisp:matrix.org.
Tags
-
type: documentation
-
keywords: lisp, scheme, tips, tricks