[m-rev.] for review: impurity & higher-order
Fergus Henderson
fjh at cs.mu.OZ.AU
Sat Jan 25 04:01:15 AEDT 2003
I forgot to include the update to the NEWS file.
Index: NEWS
===================================================================
RCS file: /home/mercury1/repository/mercury/NEWS,v
retrieving revision 1.294
diff -u -d -u -r1.294 NEWS
--- NEWS 20 Jan 2003 16:34:24 -0000 1.294
+++ NEWS 24 Jan 2003 17:00:08 -0000
@@ -9,6 +9,7 @@
* Field access syntax can now be used at the top-level in func and mode
declarations and in the head of a clause for a user-defined field access
function.
+* We now support impure higher-order code.
Changes to the Mercury compiler:
* Nothing yet.
@@ -42,6 +43,17 @@
:- func a ^ f(b) = c.
:- mode a ^ f(b) = c is <detism>.
A ^ f(B) = ...
+
+* Mercury's support for impure code now also includes support for
+ impure higher-order code.
+
+ Specifically, impurity annotations can be used on higher-order types,
+ lambda expressions, and higher-order calls; higher-order terms are
+ permitted to call impure or semipure code provided that they are
+ appropriately annotated as such.
+
+ For details, see the "Higher-order impurity" section of the "Impurity"
+ chapter of the Mercury Language Reference Manual.
Changes to the Mercury standard library:
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list