From 5ac02c067844755c5fdd378aa02b150785f8fa7b Mon Sep 17 00:00:00 2001 From: ppedrot Date: Wed, 6 Nov 2013 20:02:58 +0000 Subject: Partial application in Globnames. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@17066 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/globnames.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/globnames.ml b/library/globnames.ml index af4ebde7f..cb9e4c872 100644 --- a/library/globnames.ml +++ b/library/globnames.ml @@ -77,7 +77,7 @@ let constr_of_global = function let constr_of_reference = constr_of_global let reference_of_constr = global_of_constr -let global_ord_gen ord_cst ord_ind ord_cons x y = match x, y with +let global_ord_gen ord_cst ord_ind ord_cons = (); fun x y -> match x, y with | ConstRef cx, ConstRef cy -> ord_cst cx cy | IndRef indx, IndRef indy -> ord_ind indx indy | ConstructRef consx, ConstructRef consy -> ord_cons consx consy @@ -91,9 +91,9 @@ let global_ord_gen ord_cst ord_ind ord_cons x y = match x, y with | ConstructRef _, (VarRef _ | ConstRef _ | IndRef _) -> 1 let global_ord_can = - global_ord_gen con_ord ind_ord constructor_ord + global_ord_gen Constant.CanOrd.compare ind_ord constructor_ord let global_ord_user = - global_ord_gen con_user_ord ind_user_ord constructor_user_ord + global_ord_gen Constant.UserOrd.compare ind_user_ord constructor_user_ord (* By default, [global_reference] are ordered on their canonical part *) -- cgit v1.2.3