🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.prolog
Article #3765

Re: Determining order of argument unification

#3765
From: Richard A. O'Keefe
Date: Thu, 10 Nov 1988 01:35
31 lines
2106 bytes
In article <8249@burdvax.PRC.Unisys.COM> lang@zeta.PRC.Unisys.COM (Francois-Michel Lang) writes:
>As the instigator of what I had intended as nothing more than
>a fairly simple and informal puzzle, I apologize for having
>roused the infamous O'Keefe dragon and prompted him to unleash
>yet another onslaught of his matchless prose.

Checking a dictionary, I find
    infamous a. 1. notorious 2. shocking
    notorious a. 1. known for something bad ...

>I stand corrected in my claim that LR and RL argument evaluation
>are the only two "reasonable" orders.  Lee and Richard,
>would you perhaps grant that LR and RL are "the two most
>obvious or most commonly used" orders, which is perhaps
>what I should have said to begin with?

The most obvious, certainly.  The most commonly used?  I have no idea.
What I can be reasonably confident about is that few if any WAM-based
compilers will use either order.  "Usually LR" is what you'll get.
I don't know about PopLog, but it *used* to use predominantly RL,
but it would break off chunks of the head and hand them to a general
unification routine if the head was too complex.  Early versions of
Prolog-X were strictly LR, mainly to make decompilation easier.

>Thanks to Lee for posting a response to my original question
>which correctly answers it in the *spirit* in which it was asked!

As I pointed out, if one has read the relevant paper (and I have),
the intended answer was obvious, so I _couldn't_ solve the puzzle.
All I could do was point out that the obvious answer is wrong.
I'm sorry if that seems like an onslaught (=attack).
Technical Details
Message-ID: <653@quintus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
References: <8192@burdvax.PRC.Unisys.COM> <1028@murtoa.cs.mu.oz.au> <8249@burdvax.PRC.Unisys.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok
From: ok@quintus.uucp (Richard A. O'Keefe)
Newsgroups: comp.lang.prolog
Subject: Re: Determining order of argument unification
Message-ID: <653@quintus.UUCP>
Date: 10 Nov 88 01:35:30 GMT
References: <8192@burdvax.PRC.Unisys.COM> <1028@murtoa.cs.mu.oz.au> <8249@burdvax.PRC.Unisys.COM>
Sender: news@quintus.UUCP
Reply-To: ok@quintus.UUCP (Richard A. O'Keefe)
Organization: Quintus Computer Systems, Inc.
Lines: 31