diff options
author | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-11-06 20:02:58 +0000 |
---|---|---|
committer | ppedrot <ppedrot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-11-06 20:02:58 +0000 |
commit | 5ac02c067844755c5fdd378aa02b150785f8fa7b (patch) | |
tree | dbc5bfbf533ad8010d22791b0a719cf29a357073 /library/globnames.ml | |
parent | a09f5ba40039c0f367c320986011c2d08b953c5b (diff) |
Partial application in Globnames.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@17066 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/globnames.ml')
-rw-r--r-- | library/globnames.ml | 6 |
1 files 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 *) |