src/base.lisp @ 322aefbbcb9f

Add `(reductions ... :result-type ...)` argument
author Steve Losh <steve@stevelosh.com>
date Tue, 20 Feb 2024 11:36:38 -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))))