From c1159f736c8d8f5b95bc53af7614a63f2ab9a86b Mon Sep 17 00:00:00 2001 From: letouzey Date: Thu, 22 Aug 2013 14:29:55 +0000 Subject: Less "Coq" strings everywhere git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16725 85f007b7-540e-0410-9357-904b9bb8a0f7 --- plugins/funind/indfun_common.ml | 4 ++-- plugins/funind/recdef.ml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/funind') diff --git a/plugins/funind/indfun_common.ml b/plugins/funind/indfun_common.ml index 827747c6b8..f504b0734f 100644 --- a/plugins/funind/indfun_common.ml +++ b/plugins/funind/indfun_common.ml @@ -473,13 +473,13 @@ exception ToShow of exn let jmeq () = try - Coqlib.check_required_library ["Coq";"Logic";"JMeq"]; + Coqlib.check_required_library Coqlib.jmeq_module_name; Coqlib.gen_constant "Function" ["Logic";"JMeq"] "JMeq" with e when Errors.noncritical e -> raise (ToShow e) let jmeq_refl () = try - Coqlib.check_required_library ["Coq";"Logic";"JMeq"]; + Coqlib.check_required_library Coqlib.jmeq_module_name; Coqlib.gen_constant "Function" ["Logic";"JMeq"] "JMeq_refl" with e when Errors.noncritical e -> raise (ToShow e) diff --git a/plugins/funind/recdef.ml b/plugins/funind/recdef.ml index d2d5a957f4..857e82fc59 100644 --- a/plugins/funind/recdef.ml +++ b/plugins/funind/recdef.ml @@ -150,7 +150,7 @@ let coq_S = function () -> (coq_base_constant "S") let lt_n_O = function () -> (coq_base_constant "lt_n_O") let max_ref = function () -> (find_reference ["Recdef"] "max") let max_constr = function () -> (constr_of_global (delayed_force max_ref)) -let coq_conj = function () -> find_reference ["Coq";"Init";"Logic"] "conj" +let coq_conj = function () -> find_reference Coqlib.logic_module_name "conj" let f_S t = mkApp(delayed_force coq_S, [|t|]);; -- cgit v1.2.3