[m-dev.] Deprecating stuff in builtin module
jfischer at opturion.com
Tue Dec 1 00:06:42 AEDT 2015
On Mon, 30 Nov 2015, Zoltan Somogyi wrote:
> 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.
We don't, beyond documenting that the modes are deprecated (which is
what I intend to do).
More information about the developers