Parcourir la source

Updated macro docstring

To be more clear regarding how it's used.
Simon Watson il y a 1 an
Parent
commit
babf83c9e5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 ()