home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!newsserver.cs.uwindsor.ca!arindam
- From: arindam@cs.uwindsor.ca (Arindam Das)
- Newsgroups: comp.lang.prolog
- Subject: same predicate in different files ?
- Keywords: Quintus Prolog, predicate/same arity, different files
- Message-ID: <2302@newsserver.cs.uwindsor.ca>
- Date: 22 Dec 1992 20:48:53 GMT
- Sender: news@server.uwindsor.ca
- Lines: 27
-
- 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
-