Add docstring to printf

This commit is contained in:
Logen Kain 2020-03-26 05:35:14 -04:00
parent 2cb0f8cf31
commit fb16ffa056

View File

@ -1,6 +1,7 @@
;;;; Make a macro that is like C's printf statement
(defmacro printf (string &rest vars)
"Pretend to be printf... except preceding dec places"
`(format t ,(printf-to-format string) ,@vars))
(defun replace-all (string part replacement &key (test #'char=))