w-u-a
author |
Steve Losh <steve@stevelosh.com> |
date |
Wed, 04 Dec 2019 14:53:08 -0500 |
parents |
9ab8e17039d6 |
children |
a97e2a0c01e4 |
#-quicklisp
(let ((quicklisp-init (merge-pathnames ".quicklisp/setup.lisp" (user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))
(defun :ls (package)
(do-external-symbols (s package)
(print s)))
(setf *print-pretty* t
*print-escape* t
*print-right-margin* 100
*print-miser-width* nil
*print-length* 1000
*print-level* 250)
(defmacro := (var val)
`(progn
(defglobal ,var nil)
(setf ,var ,val)))
(defun sharp-semicolon-reader (stream sub-char numarg)
(declare (ignore sub-char numarg))
(loop :while (read-line stream nil nil))
'(values))
(set-dispatch-macro-character #\# #\; #'sharp-semicolon-reader)