[m-dev.] for review: pragma foreign_proc support
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Jan 19 13:24:51 AEDT 2001
On 19-Jan-2001, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> On 18-Jan-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > :- pragma c_code will be supported exactly as before, we will just
> > transform it into :- pragma foreign_proc or :- pragma foreign_code
> > depending on the arity.
>
> Why? Having :- pragma c_code with different arities mean different things
> is a wart we should fix this change. We should migrate all pragma c_code in
> the library and elsewhere to foreign_proc, and then c_code should be declared
> obsolete.
Eventually, yes. That is indeed the long-term plan. Tyson just means
that *in the short term* pragma c_code will be supported exactly as before.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list