NEWS and documentation, including correction of long-overseen "*"
authorhaftmann
Sun, 23 Feb 2014 10:44:57 +0100
changeset 55686 e99ed112d303
parent 55685 3f8bdc5364a9
child 55687 78c83cd477c1
NEWS and documentation, including correction of long-overseen "*"
NEWS
src/Doc/IsarRef/HOL_Specific.thy
--- a/NEWS	Sun Feb 23 10:33:43 2014 +0100
+++ b/NEWS	Sun Feb 23 10:44:57 2014 +0100
@@ -90,6 +90,8 @@
 
 *** HOL ***
 
+* Code generator: minimize exported identifiers by default.
+
 * Code generation for SML and OCaml: dropped arcane "no_signatures" option.
 
 * Simproc "finite_Collect" is no longer enabled by default, due to
--- a/src/Doc/IsarRef/HOL_Specific.thy	Sun Feb 23 10:33:43 2014 +0100
+++ b/src/Doc/IsarRef/HOL_Specific.thy	Sun Feb 23 10:44:57 2014 +0100
@@ -2393,7 +2393,7 @@
   \end{matharray}
 
   @{rail \<open>
-    @@{command (HOL) export_code} ( constexpr + ) \<newline>
+    @@{command (HOL) export_code} ( @'open' ) ? ( constexpr + ) \<newline>
        ( ( @'in' target ( @'module_name' @{syntax string} ) ? \<newline>
         ( @'file' @{syntax string} ) ? ( '(' args ')' ) ?) + ) ?
     ;
@@ -2521,8 +2521,12 @@
 
   Constants may be specified by giving them literally, referring to
   all executable constants within a certain theory by giving @{text
-  "name.*"}, or referring to \emph{all} executable constants currently
-  available by giving @{text "*"}.
+  "name._"}, or referring to \emph{all} executable constants currently
+  available by giving @{text "_"}.
+
+  By default, exported identifiers are minimized per module.  This
+  can be suppressed by prepending @{keyword "open"} before the list
+  of contants.
 
   By default, for each involved theory one corresponding name space
   module is generated.  Alternatively, a module name may be specified