[m-dev.] EDCG: backwards compatability

Zoltan Somogyi zs at cs.mu.OZ.AU
Tue Jan 25 20:37:12 AEDT 2000


> :- pred io__make_temp(string, string, string) +hidden(changed(io)).
> :- mode io__make_temp(in, in, out) is det.
>         % io__mktemp(Dir, Prefix, Name, IO0, IO) creates an empty

For a start, this is a documentation bug.

Beyond that, we can keep io__make_temp at total arity 3 and rename
the total arity 5 version as io__make_temp_in_dir. This is an incompatibility,
but it will affect very few people and it is trivial to fix.

We could also do the same with the io__tmpnam predicates, but since they
was made obsolete 18 months ago, I don't see any reason why we shouldn't
delete them instead.

Zoltan.
--------------------------------------------------------------------------
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