Files
mercury/extras/exceptions/test_exceptions_func.exp
Fergus Henderson 62da652a68 Add support for exception handling, in extras/exceptions.
Estimated hours taken: 80

Add support for exception handling, in extras/exceptions.

extras/exceptions/README:
	Describes the files in this directory.

extras/exceptions/exception.m:
	Contains the exception handling interface and implementation.

extras/exceptions/test_exceptions.m:
extras/exceptions/test_exceptions.exp:
extras/exceptions/test_uncaught_exception.m:
extras/exceptions/test_uncaught_exception.exp:
extras/exceptions/test_exceptions_func.m:
extras/exceptions/test_exceptions_func.exp:
	Test cases.

extras/exceptions/Mmakefile:
	The Mmakefile for building and running the test cases.
1998-07-22 14:32:02 +00:00

6 lines
211 B
Plaintext

det_throw: exception(univ("det_throw" : string))
det_succeed: succeeded("det_succeed")
semidet_throw: exception(univ("semidet_throw" : string))
semidet_succeed: succeeded("semidet_succeed")
semidet_fail: failed