2007-07-19から1日間の記事一覧
Common Lispのdefpackageはdocstringを持てる。 CL-USER> (defpackage temp (:use cl) (:documentation "pkg doc")) #<PACKAGE "TEMP"> CL-USER> (documentation (find-package 'temp) t) "pkg doc" けどSLIMEでそれを見ることってできないのかな。パッケージ名をslime-descr</package>…
とりあえず作成。 (defmacro defun-abbrev (funcname table abbrev &rest body) "Defun a function and define an abbrev. Note that `table' is abbrev table to use." `(progn (defun ,funcname ,@body) (define-abbrev-function ,table ,abbrev ',funcnam…