🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #1689

Re: '->' operator

#1689
From: Michael A. Covington
Date: Fri, 04 Jan 1991 06:11
17 lines
1225 bytes
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.
   
Technical Details
Message-ID: <1991Jan4.061142.26941@athena.cs.uga.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!emory!athena.cs.uga.edu!mcovingt
References: <291@valverde.cs.utexas.edu> <1991Jan4.030918.24996@athena.cs.uga.edu> <16491@cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!emory!athena.cs.uga.edu!mcovingt
From: mcovingt@athena.cs.uga.edu (Michael A. Covington)
Newsgroups: comp.lang.prolog
Subject: Re: '->' operator
Message-ID: <1991Jan4.061142.26941@athena.cs.uga.edu>
Date: 4 Jan 91 06:11:42 GMT
References: <291@valverde.cs.utexas.edu> <1991Jan4.030918.24996@athena.cs.uga.edu> <16491@cs.utexas.edu>
Organization: University of Georgia, Athens
Lines: 17