[m-dev.] for review: mention exception handling changes in NEWS

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Sep 16 05:34:43 AEST 1999


Estimated hours taken: 0.5

NEWS:
w3/news/newsdb.inc:
	Mention that exception handling is now part of the standard library.

Workspace: /usr/hg2/fjh/mercury
Index: NEWS
===================================================================
RCS file: /home/mercury1/repository/mercury/NEWS,v
retrieving revision 1.144
diff -u -r1.144 NEWS
--- NEWS	1999/07/14 04:28:01	1.144
+++ NEWS	1999/08/31 05:29:50
@@ -36,12 +36,24 @@
   instead.  The compiler still supports the old-style syntax, but
   we plan to eventually drop this support in some future release.
 
-* Terms in the form of x `fun` y are transformed into fun(x, y).  `fun`
+* We now support a simple form of user-defined infix operators.
+  
+  Terms in the form of x `fun` y are transformed into fun(x, y).  `fun`
   is parsed as an infix operator with the highest possible precedence
   and left associativity.
 
 Changes to the Mercury standard library:
 ****************************************
+
+* Exception handling support is now part of the standard library.
+
+  The module `exception', which was previously part of the "extras"
+  distribution, has been moved into the standard library.
+  The predicate error/1 now throws an exception rather than just
+  terminating execution.
+
+  However, many of the operations in the standard library still handle
+  errors by aborting execution rather than by throwing exceptions.
 
 * We've added some new predicates to the Mercury standard library:
 	array__map/3,
Index: w3/news/newsdb.inc
===================================================================
RCS file: /home/mercury1/repository/w3/news/newsdb.inc,v
retrieving revision 1.33
diff -u -r1.33 newsdb.inc
--- w3/news/newsdb.inc	1999/08/14 08:52:05	1.33
+++ w3/news/newsdb.inc	1999/09/15 19:31:49
@@ -17,6 +17,19 @@
 */
 
 $newsdb = array(
+"16 Sep 1999" => array("Exception handling",
+
+"Exception handling support is now part of the standard library.
+
+The module `exception', which was previously part of the \"extras\"
+distribution, has been moved into the standard library.
+The predicate error/1 now throws an exception rather than just
+terminating execution.
+
+However, many of the operations in the standard library still handle
+errors by aborting execution rather than by throwing exceptions.
+"),
+
 "13 Aug 1999" => array("New papers",
 
 "Two new papers on Mercury are now available from our

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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