[GBBopen-developer] Possible mistake in tutorial.pdf

Chun Tian (binghe) binghe.lisp at gmail.com
Fri Apr 18 01:54:22 EDT 2008


Index: tutorial.tex
===================================================================
--- tutorial.tex	(revision 358)
+++ tutorial.tex	(working copy)
@@ -5096,7 +5096,7 @@
      ;;; name and location of the walk
      (declare (ignore ksa))
      (format t "~2\&The random walk:~\%")
-      (let ((instance (find-instance-by-name 1 'location)))
+    (let ((instance (find-instance-by-name 1 'location)))
        (while instance
          (format t "~s (~s ~s)~\%"
                  (instance-name-of instance)

Another typo fix. I've finished reading Tutorial.

>
>> I'm reading tutorial.pdf, page 54, the definition of function   
>> INITIALIZATIONS:
>> (defun initializations (event-name &key &allow-other-keys)
>>   (declare (ignore event-name))
>>   ;; Clean up any previous run:
>>   (delete-blackboard-repository)
>>   ;; Make a new known-world space instance:
>>   (make-space-instance
>>    '(known-world)
>>    :dimensions (dimensions-of 'location)
>>    :allowed-unit-classes 'location))
>> I think the :ALLOWED-UNIT-CLASSES keyword should take a list of   
>> symbol, not just one symbol,
>
> You are correct.  (It is a typo in the Tutorial, now fixed.)
>
> Thanks for the report!


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the GBBopen-developer mailing list