re-arranged tuples (theory * 'a) to ('a * theory) in Pure
authorhaftmann
Fri, 16 Dec 2005 16:00:58 +0100
changeset 18422 875451c9d253
parent 18421 464c93701351
child 18423 d7859164447f
re-arranged tuples (theory * 'a) to ('a * theory) in Pure
NEWS
--- a/NEWS	Fri Dec 16 15:52:05 2005 +0100
+++ b/NEWS	Fri Dec 16 16:00:58 2005 +0100
@@ -163,6 +163,24 @@
 
 *** ML ***
 
+* Pure: functions of signature "... -> theory -> theory * ..." have been reoriented
+  to "... -> theory -> ... * theory" in order to allow natural usage in combination
+  with the ||>, ||>>, |-> and fold_map combinators.
+
+* Library: new module Pure/General/name_mangler providing a functor for generic
+    name mangling (bijective mapping from any expression values to strings).
+
+* SML systems: added
+    print: 'a -> 'a
+  to smlnj. PolyML provides such a function which as a side effect prints out
+  a string representation of its argument. By adding print to smlnj, it is possible
+  to use "print" for debugging purpose without breaking smlnj compatibility.
+
+* Library: functions map2 and fold2 with curried syntax for simultanous
+    mapping and folding:
+    val map2: ('a -> 'b -> 'c) -> 'a list -> 'b list -> 'c list
+    val fold2: ('a -> 'b -> 'c -> 'c) -> 'a list -> 'b list -> 'c -> 'c
+
 * Library: new module Pure/General/rat.ML implementing rational numbers,
 replacing the former functions in the Isabelle library.