src/base.lisp @ a1be2be82e9d

Add default to pbcopy's arg
author Steve Losh <steve@stevelosh.com>
date Wed, 01 Dec 2021 20:52:30 -0500
parents e9553a14c887
children (none)
(in-package :losh.base)

(defun mkstr (&rest args)
  ;;; From On Lisp, page 58.
  (with-output-to-string (s)
    (dolist (a args)
      (princ a s))))

(defun symb (&rest args)
  ;;; From On Lisp, page 58.
  (values (intern (apply #'mkstr args))))