Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!qmw-cs!mmh From: mmh@cs.qmw.ac.uk (Matthew Huntbach) Newsgroups: comp.lang.prolog Subject: Re: Legitimate uses of "assert"? Message-ID: <1715@sequent.cs.qmw.ac.uk> Date: 28 Feb 90 16:13:05 GMT References: <8205@pt.cs.cmu.edu> <1708@sequent.cs.qmw.ac.uk> Reply-To: mmh@cs.qmc.ac.uk (Matthew Huntbach) Organization: Computer Science Dept, Queen Mary and Westfield College, U of London, UK. Lines: 9 Summary: Expires: Sender: Followup-To: Distribution: Keywords: The book "Artificial Intelligence through Prolog" by N.C.Rowe, published by Prentice-Hall (which coincidentally just turned up in our library today) demonstrates my point. He uses asserts and retracts all over the place to program AI search algorithms (if Mr.Rowe reads this, I would be interested in hearing his reasons for this, personally I think I would recommend his book as a good demonstration of how NOT to program in Prolog). Matthew Huntbach