On Thu, 23 Aug 2001 13:48:22 +0000 (UTC),
Aaron.Sloman.XX@cs.bham.ac.uk (Aaron Sloman See text for reply
address) wrote:
>I previously wrote
>
>> A colleague in the university of Notre Dame wants to use Poplog for
>> teaching AI, including using Common Lisp.
>>
>> He finds that the code that goes with the Russell and Norvig AI textbook
>> will not compile because of the use of "@" e.g. in
>>
>> (defun @ (x y) "Create a 2-D point" (make-xy :x x :y y))
>>
>> Does anyone know a good strategy for dealing with this? I am not
>> a lisp user, so don't know where to start.
Apart from John Williams's correct (and helpful) answer for LISP,
a more general strategy would be to globally replace @ by AT. (After
first searching to make sure the string AT would be a suitable
choice.)
Slightly less obvious, in lisp you could also use ! in place of @,
which is what I'd do if I wanted to retain the special meaning of @
which poplog uses. After all, it's there for a reason.
Jonathan
--
Jonathan L Cunningham
|