🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #599

Re: The Zebra problem

#599
From: Jamie Andrews
Date: Fri, 16 Mar 1990 15:59
26 lines
1318 bytes
In article <21712@netnews.upenn.edu> ferris@eniac.seas.upenn.edu.UUCP (Richard T. Ferris) writes:
>I have run the program
>sucessfully in C-Prolog but it seems to hang up Turbo Prolog
>(version 1.1).  Can anybody tell me why?  I would really appreciate
>it.

Well, it could be because Turbo runs out of stack space
(the solution space is huge)...  or...

>/* begin ZEBRA program */
> ...
> Englishmen = Redhouse,
> ...
> differ(Englishman,Spaniard,Norwegian,Jap,Ukranian),

... it could be because you spelled "Englishman" differently the
two times you used it... or...

... it could be because Turbo is taking offence at your rather
'40s-style pejorative abbreviation of Japanese...

just some ideas :-)
--Jamie.
  jha@lfcs.ed.ac.uk
Copyright (c) 1990 by Jamie Andrews;
for redistribution only on unmoderated USENET newsgroups.
Technical Details
Message-ID: <2889@castle.ed.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!samsung!think!mintaka!bloom-beacon!eru!luth!sunic!mcsun!ukc!edcastle!lfcs!jha
References: <21712@netnews.upenn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!samsung!think!mintaka!bloom-beacon!eru!luth!sunic!mcsun!ukc!edcastle!lfcs!jha
From: jha@lfcs.ed.ac.uk (Jamie Andrews)
Newsgroups: comp.lang.prolog
Subject: Re: The Zebra problem
Message-ID: <2889@castle.ed.ac.uk>
Date: 16 Mar 90 15:59:00 GMT
References: <21712@netnews.upenn.edu>
Reply-To: jha@lfcs.ed.ac.uk (Jamie Andrews)
Organization: Laboratory for the Foundations of Computer Science, Edinburgh U
Lines: 26