summaryrefslogtreecommitdiff
path: root/plugins/xml/unshare.mli
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xml/unshare.mli')
-rw-r--r--plugins/xml/unshare.mli21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/xml/unshare.mli b/plugins/xml/unshare.mli
new file mode 100644
index 00000000..31ba9037
--- /dev/null
+++ b/plugins/xml/unshare.mli
@@ -0,0 +1,21 @@
+(************************************************************************)
+(* v * The Coq Proof Assistant / The Coq Development Team *)
+(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
+(* \VV/ **************************************************************)
+(* // * The HELM Project / The EU MoWGLI Project *)
+(* * University of Bologna *)
+(************************************************************************)
+(* This file is distributed under the terms of the *)
+(* GNU Lesser General Public License Version 2.1 *)
+(* *)
+(* Copyright (C) 2000-2004, HELM Team. *)
+(* http://helm.cs.unibo.it *)
+(************************************************************************)
+
+exception CanNotUnshare;;
+
+(* [unshare t] gives back a copy of t where all sharing has been removed *)
+(* Physical equality becomes meaningful on unshared terms. Hashtables that *)
+(* use physical equality can now be used to associate information to evey *)
+(* node of the term. *)
+val unshare: ?already_unshared:('a -> bool) -> 'a -> 'a