con predicate

This is a discussion on con predicate within the PROLOG forums in Programming Languages category; Hi, I'm trying to update some old prolog (18 years or more old!). I've come across a predicate con/3, but can't find any documentation on it. Can anyone help with a definition? Thanks Simon...

Go Back   Application Development Forum > Programming Languages > PROLOG

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-14-2008, 09:12 AM
simes
Guest
 
Default con predicate

Hi,

I'm trying to update some old prolog (18 years or more old!). I've
come across a predicate con/3, but can't find any documentation on
it. Can anyone help with a definition?

Thanks

Simon
Reply With Quote
  #2  
Old 07-14-2008, 07:34 PM
Cesar Rabak
Guest
 
Default Re: con predicate

simes escreveu:
> Hi,
>
> I'm trying to update some old prolog (18 years or more old!). I've
> come across a predicate con/3, but can't find any documentation on
> it. Can anyone help with a definition?


Do you recall what Prolog system was the program used it 18 years ago?
Reply With Quote
  #3  
Old 07-14-2008, 08:17 PM
Chip Eastham
Guest
 
Default Re: con predicate

On Jul 14, 9:12*am, simes <courten...@gmail.com> wrote:
> Hi,
>
> I'm trying to update some old prolog (18 years or more old!). *I've
> come across a predicate con/3, but can't find any documentation on
> it. *Can anyone help with a definition?
>
> Thanks
>
> Simon


Just a guess, but maybe it's related to the fundamental
Lisp function cons ("constructs") that adds a first
element to a list. In Prolog one could define cons/3:

cons(H,T,[H|T]).


regards, chip
Reply With Quote
  #4  
Old 07-15-2008, 05:03 AM
simes
Guest
 
Default Re: con predicate

On 15 Jul, 00:34, Cesar Rabak <csra...@yahoo.com.br> wrote:
> simes escreveu:
>
> > Hi,

>
> > I'm trying to update some old prolog (18 years or more old!). *I've
> > come across a predicate con/3, but can't find any documentation on
> > it. *Can anyone help with a definition?

>
> Do you recall what Prolog system was the program used it 18 years ago?


It's LPA Prolog version 3.15 June 1990. I said it was pretty old

Thanks

Simon
Reply With Quote
  #5  
Old 07-15-2008, 09:29 PM
Cesar Rabak
Guest
 
Default Re: con predicate

simes escreveu:
> On 15 Jul, 00:34, Cesar Rabak <csra...@yahoo.com.br> wrote:
>> simes escreveu:
>>
>>> Hi,
>>> I'm trying to update some old prolog (18 years or more old!). I've
>>> come across a predicate con/3, but can't find any documentation on
>>> it. Can anyone help with a definition?

>> Do you recall what Prolog system was the program used it 18 years ago?

>
> It's LPA Prolog version 3.15 June 1990. I said it was pretty old
>

Don't be shy I've an installation of LPA (Win)-Prolog 3.300 from 1996. .
.. legacy sometimes happens.

Cannot find any mention on the docs on mine installation as well...
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:55 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.