diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-06-01 15:50:03 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-06-01 15:50:03 +0200 |
commit | 52ff7a60c23ad31a7e0eb9b0bdb5b7c7c23162f3 (patch) | |
tree | 1455de14a615ce50e91e50551d60e82e6f7ab70a /plugins/funind | |
parent | 3840dbd43398e5ff6ed7dbbc1cc6b19ec2eddb97 (diff) | |
parent | 563d173d86cb8fbaccad70ee4c665aa60beb069c (diff) |
Merge PR#696: Trunk+cleanup constr of global
Diffstat (limited to 'plugins/funind')
-rw-r--r-- | plugins/funind/merge.ml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/funind/merge.ml b/plugins/funind/merge.ml index b2c8489ce..763443717 100644 --- a/plugins/funind/merge.ml +++ b/plugins/funind/merge.ml @@ -133,20 +133,6 @@ let prNamedRLDecl s lc = prstr "\n"; end -let showind (id:Id.t) = - let cstrid = Constrintern.global_reference id in - let (ind1, u),cstrlist = Inductiveops.find_inductive (Global.env()) Evd.empty (EConstr.of_constr cstrid) in - let mib1,ib1 = Inductive.lookup_mind_specif (Global.env()) ind1 in - let u = EConstr.Unsafe.to_instance u in - List.iter (fun decl -> - print_string (string_of_name (Context.Rel.Declaration.get_name decl) ^ ":"); - prconstr (RelDecl.get_type decl); print_string "\n") - ib1.mind_arity_ctxt; - Printf.printf "arity :"; prconstr (Inductiveops.type_of_inductive (Global.env ()) (ind1, u)); - Array.iteri - (fun i x -> Printf.printf"type constr %d :" i ; prconstr x) - ib1.mind_user_lc - (** {2 Misc} *) exception Found of int |