From 9cf6b3543bf369ccb4d3b0909ee3db96e074e24e Mon Sep 17 00:00:00 2001 From: msozeau Date: Wed, 10 Feb 2010 00:14:07 +0000 Subject: 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 --- lib/util.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/util.ml') diff --git a/lib/util.ml b/lib/util.ml index b8ceea3ea0..8512e10e1c 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) -- cgit v1.2.3