🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.prolog
1 messages
1 total messages Started by Arindam Das Tue, 22 Dec 1992 20:48
same predicate in different files ?
#2166
Author: Arindam Das
Date: Tue, 22 Dec 1992 20:48
27 lines
1127 bytes
Hi netters,


Is it possible in Quintus Prolog to define same predicate (of same arity) in
more than one file and consult them together ?

Suppose I have a rule 

        tree(A1, A2):-
              A1 = branch,
              A2 = branch.

      in file1.pl and file2.pl which have been developed separately
by different persons. Now I want to consult both files together since
they are parts of the same program. HOW COULD I DO THAT ?


Hint of any form is appreciated.


Thanx in advance.

-arindam
-- 
Arindam Das                            email: arindam@CS.Uwindsor.Ca
Dept. of Comp. Sci.                           ph# (519)253-4232Ext 3003/3007
U. of Windsor, Ont, Canada             
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads