(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* Errors.error ("No such hypothesis: " ^ (string_of_id id)) in sign let pf_get_hyp_typ id gl = let (_,_,ty) = pf_get_hyp id gl in ty let pf_hyps_types gl = let env = Proofview.Goal.env gl in let sign = Environ.named_context env in List.map (fun (id,_,x) -> (id, x)) sign let pf_last_hyp gl = let hyps = Proofview.Goal.hyps gl in List.hd hyps end