我尝试重做 parenscript 示例。我在 emacs+sbcl+slime 中执行以下命令:
(ql:quickload :parenscript)
(defpackage :test)
(:use :cl :parenscript))
(in-package :test)
然后我编译示例:
(defun validate-game-name (evt)
(when (= (@ add-form name value) "")
(chain evt (prevent-default))
(alert "Please enter a name.")))
并得到以下错误:
style-warning: undefined function: @
warning: undefined variable: ADD-FORM
warning: undefined variable: NAME
warning: undefined variable: VALUE
这里有什么问题?