aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/util.ml
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-02-10 00:14:07 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-02-10 00:14:07 +0000
commit9cf6b3543bf369ccb4d3b0909ee3db96e074e24e (patch)
tree196dcb18bb968916f462705a5a2f606be24376f5 /lib/util.ml
parentc4b5c7ebd6f316bb53e1a53f94c367f4f0129dae (diff)
Fix [Existing Class] impl and add documentation. Fix computation of the
dependency order of obligations that was not backwards-compatible. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12719 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml
index b8ceea3ea..8512e10e1 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -1126,6 +1126,8 @@ let identity x = x
let compose f g x = f (g x)
+let const x _ = x
+
let iterate f =
let rec iterate_f n x =
if n <= 0 then x else iterate_f (pred n) (f x)