# HG changeset patch # User wenzelm # Date 1186510789 -7200 # Node ID 4ba00a972eb83dc90f14fda2fac7d01d470d6979 # Parent 06e42cf7df4ed56ca5c7a87a780d3b29a9dfccbb theory loader: added use_thys, removed obsolete update_thy; diff -r 06e42cf7df4e -r 4ba00a972eb8 doc-src/IsarImplementation/Thy/integration.thy --- a/doc-src/IsarImplementation/Thy/integration.thy Tue Aug 07 20:19:48 2007 +0200 +++ b/doc-src/IsarImplementation/Thy/integration.thy Tue Aug 07 20:19:49 2007 +0200 @@ -372,7 +372,7 @@ \begin{mldecls} @{index_ML theory: "string -> theory"} \\ @{index_ML use_thy: "string -> unit"} \\ - @{index_ML update_thy: "string -> unit"} \\ + @{index_ML use_thys: "string list -> unit"} \\ @{index_ML touch_thy: "string -> unit"} \\ @{index_ML remove_thy: "string -> unit"} \\[1ex] @{index_ML ThyInfo.begin_theory}@{verbatim ": ... -> bool -> theory"} \\ @@ -388,13 +388,14 @@ associated with name @{text A}. Note that the result might be outdated. - \item @{ML use_thy}~@{text A} loads theory @{text A} if it is absent - or out-of-date. It ensures that all parent theories are available - as well, but does not reload them if older versions are already - present. + \item @{ML use_thy}~@{text A} ensures that theory @{text A} is fully + up-to-date wrt.\ the external file store, reloading outdated + ancestors as required. - \item @{ML update_thy} is similar to @{ML use_thy}, but ensures that - theory @{text A} and all ancestors are fully up-to-date. + \item @{ML use_thys} is similar to @{ML use_thy}, but handles + several theories simultaneously. Thus it acts like processing the + import header of a theory, without performing the merge of the + result, though. \item @{ML touch_thy}~@{text A} performs and @{text outdate} action on theory @{text A} and all descendants. @@ -403,10 +404,7 @@ descendants from the theory database. \item @{ML ThyInfo.begin_theory} is the basic operation behind a - @{text \} header declaration. The boolean argument - indicates the strictness of treating ancestors: for @{ML true} (as - in interactive mode) like @{ML update_thy}, and for @{ML false} (as - in batch mode) like @{ML use_thy}. This is {\ML} functions is + @{text \} header declaration. This is {\ML} functions is normally not invoked directly. \item @{ML ThyInfo.end_theory} concludes the loading of a theory