Files
mercury/tests/invalid/undef_lambda_mode.m
Julien Fischer c0dffb491e Deprecate old-style lambda expressions properly.
Estimated hours taken: 3
Branches: main

Deprecate old-style lambda expressions properly.

compiler/make_hlds.m:
	Emit a warning if an old-style lambda expression is
	encountered.

compiler/notes/todo.html:
	Remove this from the TODO list.

compiler/base_typeclass_info.m:
compiler/mercury_to_mercury.m:
extras/odbc/odbc.m:
tests/*/*.m:
	Replace old-style lambda expressions as necessary.
2004-07-14 05:39:14 +00:00

12 lines
184 B
Mathematica

:- module undef_lambda_mode.
:- interface.
:- pred test(pred(int)) is det.
:- mode test(pred(in) is semidet) is det.
:- implementation.
test((pred(X::junk) is semidet :- X = 1)).