🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #4272

elementary problem (I hope)

#4272
From: Douglas Clark
Date: Fri, 09 Mar 1990 09:56
15 lines
1034 bytes
A user has been asking me how to write synonyms in Prolog. Being ignorant
I have no idea. It is obvious why the natural

father(X):-male(X).
male(X):-father(X).
father(fred).

fails. But I cannot find a substute that works. Some way of eliminating
the repetitive backtracking. Help would be appreciated.
-- 
Douglas Clark                                   Voice : +44 225 826039
User Services,                            JANET : ccsdgdc@uk.ac.bath.gdr
Bath University Computing Services,  UUCP : uunet!mcsun!ukc!gdr!ccsdgdc
Bath, Avon, England BA2 7AY     ARPA : ccsdgdc%gdr.bath.ac.uk@nsfnet-relay.ac.uk
Technical Details
Message-ID: <1990Mar9.095655.4191@bath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!dcl-cs!gdt!gdr.bath.ac.uk!ccsdgdc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!ukc!dcl-cs!gdt!gdr.bath.ac.uk!ccsdgdc
From: ccsdgdc@gdr.bath.ac.uk (Douglas Clark)
Newsgroups: comp.lang.prolog
Subject: elementary problem (I hope)
Message-ID: <1990Mar9.095655.4191@bath.ac.uk>
Date: 9 Mar 90 09:56:55 GMT
Sender: ccsdgdc@bath.ac.uk (Douglas Clark)
Organization: Bath University Computing Services, UK
Lines: 15