[m-rev.] for review: update docs for foreign language interface

Peter Moulder pmoulder at csse.monash.edu.au
Thu Nov 7 02:58:42 AEDT 2002


On Wed, Oct 30, 2002 at 03:50:30AM +1100, Fergus Henderson wrote:

> +any top-level C# declarations (e.g. @samp{using} declarations
				  ~~~~~
e.g.@: @samp....

> + at example
> +:- pragma foreign_decl("C#", [...],
> +"
> +	// [...]
> +	Console.WriteLine(""hello world"").
> +").
> + at end example

I don't know C#, but I'd guess that the third-last line should end
in `;' rather than `.'.

> +any top-level MC++ declarations (e.g. @samp{#include} or @samp{#using})
				    ~~~~~
similarly e.g.@: @samp...

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



More information about the reviews mailing list