[m-dev.] Deprecating stuff in builtin module
Zoltan Somogyi
zoltan.somogyi at runbox.com
Mon Nov 30 21:46:40 AEDT 2015
On Mon, 30 Nov 2015 16:02:52 +1100 (AEDT), Julien Fischer <jfischer at opturion.com> wrote:
> 1 The inst aliases 'new == free' and 'old == any'. These were the names that
> HAL used and were introduced into Mercury by G12 so people used to HAL could
> pretend they were still using it.
>
> 2. The modes 'no' and 'oo'. Again, these were for compatibility with HAL.
>
> 3. The modes 'input' and 'output'.
>
> 4. The function promise_only_solution/1 and predicate promise_only_solution_io/4.
>
> I propose to delete (1) and (2) immediately and deprecate (3) and (4).
> Any objections?
No objection from me, but I don't think we have any facilities
for marking a *mode*, as opposed to a *predicate*, as obsolete.
Zoltan.
More information about the developers
mailing list