Article View: comp.lang.prolog
Article #1688Re: '->' operator
From: Bradley L. Richards
Date: Fri, 04 Jan 1991 04:58
Date: Fri, 04 Jan 1991 04:58
23 lines
1684 bytes
1684 bytes
In article <1991Jan4.030918.24996@athena.cs.uga.edu> mcovingt@athena.cs.uga.edu (Michael A. Covington) writes:
> Further, the -> operator is not intended to be an encoding of anything
> in classical logic. It is a Pascal-like, *procedural* if-then-else
> construct, designed to make it easier to express algorithms.
> The equivalent of classical logic "implies" is :- .
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.
So either under the logical interpretation or under the procedural one
it seems to me that the Quintus '->' works improperly.
Bradley
-------------------------------------------------------------------------------
Bradley L. Richards "The abandonment of formal mathematics
bradley@cs.utexas.edu is an extremely popular thing to do in
uucp: cs.utexas.edu!bradley computer science."
Dr. Robert Boyer, NACLP-90
-------------------------------------------------------------------------------
Technical Details
Message-ID:
<16491@cs.utexas.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!bradleyReferences:
<291@valverde.cs.utexas.edu> <1991Jan4.030918.24996@athena.cs.uga.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!bradley From: bradley@cs.utexas.edu (Bradley L. Richards) Newsgroups: comp.lang.prolog Subject: Re: '->' operator Message-ID: <16491@cs.utexas.edu> Date: 4 Jan 91 04:58:18 GMT References: <291@valverde.cs.utexas.edu> <1991Jan4.030918.24996@athena.cs.uga.edu> Organization: Dept of Computer Sciences, UTexas, Austin Lines: 23