🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #1695

Re: '->' operator

#1695
From: fuchs
Date: Fri, 04 Jan 1991 14:30
23 lines
1580 bytes
In article <1991Jan4.061142.26941@athena.cs.uga.edu> mcovingt@athena.cs.uga.edu (Michael A. Covington) writes:
>In article <16491@cs.utexas.edu> bradley@cs.utexas.edu (Bradley L. Richards) writes:
>>
>>Ah, but if '->' is intended to be an implementation of the procedural
>>if-then-else (or, in the case I'm concerned with, if-then) then it
>>should still succeed if the condition is false.  After all, procedurally
>>execution will continue following an if statement whether or not the
>>condition in the if was true.
>
>   Ah. I had not quite realized that it didn't. So (p -> q) fails if 
>   p fails?
>   
>>So either under the logical interpretation or under the procedural one
>>it seems to me that the Quintus '->' works improperly.
>>
>   I hope R. A. O'Keefe (the most vocal defender of "->"; he may
>   even have invented it) will join this discussion.
>   

I will not anticipate Richard O'Keefe's answer, but P -> Q works as if
implemented as P, !, Q.

   --- nef
Technical Details
Message-ID: <1991Jan4.143017.29823@ifi.unizh.ch>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!wuarchive!uunet!mcsun!cernvax!chx400!unizh!fuchs
References: <1991Jan4.030918.24996@athena.cs.uga.edu> <16491@cs.utexas.edu> <1991Jan4.061142.26941@athena.cs.uga.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!usc!wuarchive!uunet!mcsun!cernvax!chx400!unizh!fuchs
From: fuchs@ifi.unizh.ch
Newsgroups: comp.lang.prolog
Subject: Re: '->' operator
Message-ID: <1991Jan4.143017.29823@ifi.unizh.ch>
Date: 4 Jan 91 14:30:17 GMT
References: <1991Jan4.030918.24996@athena.cs.uga.edu> <16491@cs.utexas.edu> <1991Jan4.061142.26941@athena.cs.uga.edu>
Reply-To: fuchs@ifi.unizh.ch
Organization: University of Zurich, Department of Computer Science
Lines: 23