diff options
| author | ppedrot | 2013-06-10 16:25:06 +0000 |
|---|---|---|
| committer | ppedrot | 2013-06-10 16:25:06 +0000 |
| commit | af1947ae57d0fa6f35a61b86ea9e73e66f2f5fd8 (patch) | |
| tree | b7eb8d20d6bf4f8d87986c7f4220d8cbe704f760 /plugins | |
| parent | f97121161c9e6c11eea4ad8c4303d0bd083c6672 (diff) | |
Hiding tactic value representations.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16570 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/setoid_ring/newring.ml4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/setoid_ring/newring.ml4 b/plugins/setoid_ring/newring.ml4 index 5556912ebb..03d7c645e4 100644 --- a/plugins/setoid_ring/newring.ml4 +++ b/plugins/setoid_ring/newring.ml4 @@ -193,9 +193,9 @@ let exec_tactic env n f args = Tacinterp.eval_tactic(ltac_call f (args@[getter])) (dummy_goal env) in !res -let constr_of = function - | VConstr ([],c) -> c - | _ -> failwith "Ring.exec_tactic: anomaly" +let constr_of v = match Value.to_constr v with + | Some c -> c + | None -> failwith "Ring.exec_tactic: anomaly" let stdlib_modules = [["Coq";"Setoids";"Setoid"]; |
