This patch adds a flag that sets whether use_file must raise Failure if loading the file did not succeed. If set to true, this helps (nested) loading of files fail early. However, propagation of the failure will cause Toplevel to forget bindings ('let .. = ..;;') that have been made before the erroneous statement in the file. This leads to an inconsistent state between variable and defined constants in HOL Light.
This patch adds a flag that sets whether use_file must raise Failure if loading the file did not succeed. If set to true, this helps (nested) loading of files fail early. However, propagation of the failure will cause Toplevel to forget bindings ('let .. = ..;;') that have been made before the erroneous statement in the file. This leads to an inconsistent state between variable and defined constants in HOL Light.