From: utzoo!decvax!duke!unc!bts Newsgroups: net.lang.prolog Title: Zebra Hint #1 Article-I.D.: unc.4760 Posted: Sat Mar 12 00:43:31 1983 Received: Sat Mar 12 09:00:44 1983 From: Chris MossSubject: Zebra puzzle, hint 1 Who owns the Zebra? (see item called A puzzle in the Prolog net bulletinboard). (on USENET that's article wivax.9728, from wivax!ligett -- bts) Here is hint # 1. See if this helps. If not, read # 2. Try considering the data structure you would need to solve such a problem. If you represent the solution as a term, then how would it appear? An obvious answer is to consider each possibility as a list. Then each item in that list will itself be a list. There are two ways the list can be structured. If you look at the clues, one is evidently more convenient than the other. That's enough for now... Chris.