瀏覽代碼

Updated macro docstring

To be more clear regarding how it's used.
Simon Watson 2 年之前
父節點
當前提交
babf83c9e5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      game.lisp

+ 1 - 1
game.lisp

@@ -213,7 +213,7 @@ Actions:
 
 (defmacro dynamic-slot-access (predicate slotname accessor)
   "Given a predicate where the predicate is a struct slot accessor like 'market-price-of-',
-   an 'accessor' like 'petrofuel', and a struct location, return the slot accessor function"
+   a slotname like 'petrofuel', and a struct location, return the result of the slot accessor function"
     `(funcall ,(symbol-function (find-symbol (string-upcase (concatenate 'string predicate slotname)))) ,accessor))
 
 (defun display-prices ()