[mercury-users] Mercury interface for nondet predicates

Jeff Thompson jeff at thefirst.org
Mon Jan 31 05:03:53 AEDT 2011


I've been enjoying a lot of success with the csharp grade.  Now for the 
next step: I want to interface from C# to a nondet predicate by setting 
up the query, then asking for each result.  I want to use this for 
database-like applications where there may be many results.

What is the recommended way to do this?  Looking at the generated C# 
code, perhaps I need to create the environment structure for the predicate?

I read the following link "Calling Mercury code from C" but doesn't seem 
to cover multi predicates:
http://www.mercury.cs.mu.oz.au/information/doc-latest/reference_manual_14.html#SEC124

Thanks for any help,
- Jeff
--------------------------------------------------------------------------
mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the users mailing list