[mercury-users] How to make huge db in Mercury

Byron Hale byron.hale at einfo.com
Sat Apr 27 14:55:53 AEST 2002


At 10:17 PM 4/25/2002 +0200, you wrote:
>Hi,
>I have this problem:
>I have huge database in prolog (Mercury) in this format:
>
>   ...
>   pred1(data11,data21,data31).
>   pred2(data21,data22,data23).
>   ...
>   ...
>
>(it is in more than one file)
>
>and I want to make a Mercury program with some "queries" to db 
>(predicates) with choosing the db-file(s).
>Can you help me? (Is it possible in Mercury ?)
>Thank you
>John

If I am not mistaken, it is possible to get into infinite loops, depending 
on the
order of the rules in a knowledge base. It would seem wise to add just a 
few at a time and see what results you get.

Best Regards,
Byron Hale
byron.hale at einfo.com


--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list