[m-users.] Mercury to c# workflow?

David Epstein davideps at umich.edu
Thu Jan 6 03:42:17 AEDT 2022


Hi folks,

I'm just getting started with Mercury with c# as my target language. Are
there any examples of integrating Mercury-based c# with traditional c# code
(e.g. UI)?

For example, given:

mortal(X) :- man(X).

How would I dynamically (from c#) declare "man(Socrates)." and then query
if "human(Socrates)"? Does this require pragma foreign_export?

thank you,
-david
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20220105/cfec0674/attachment.html>


More information about the users mailing list