Skip to content

Instantly share code, notes, and snippets.

@hyotang666
Created June 5, 2021 02:21
Show Gist options
  • Save hyotang666/bf118207e2b5aa13ebecc0d76a6c144b to your computer and use it in GitHub Desktop.
Save hyotang666/bf118207e2b5aa13ebecc0d76a6c144b to your computer and use it in GitHub Desktop.
(ql:quickload '(:with-package :alexandria))
(get-dispatch-macro-character #\# #\@) ; => NIL
(progn #.(progn (with-package:enable) ; <--- Modify *READTABLE*
(values)) ; <--- return nothing.
#@alexandria ; <--- Using new syntax.
(iota 5)
#.(progn (setq *readtable* (copy-readtable nil)) ; <--- Reset *READTABLE* as the default.
(values))) ; <--- return nothing.
; => (0 1 2 3 4)
(get-dispatch-macro-character #\# #\@) ; => NIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment