commit babf83c9e5540830f2b500c49adc8fa2e78164bd
Author: Simon Watson <spw01@protonmail.com>
Date: Fri Feb 10 20:30:35 2023 -0500
Updated macro docstring
To be more clear regarding how it's used.
diff --git a/game.lisp b/game.lisp
index 2b72ae3..e0a3271 100644
--- a/game.lisp
+++ b/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 ()