(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* match ido with | None -> errorlabstrm "" (pr_id id ++ str " is used in conclusion.") | Some id' -> errorlabstrm "" (pr_id id ++ strbrk " is used in hypothesis " ++ pr_id id' ++ str ".") (* Pretty-printers *) open Pp open Tacexpr open Rawterm let rec pr_list f = function | [] -> mt () | a::l1 -> (f a) ++ pr_list f l1 let pr_gls gls = hov 0 (pr_evar_map (sig_sig gls) ++ fnl () ++ db_pr_goal (sig_it gls)) let pr_glls glls = hov 0 (pr_evar_map (sig_sig glls) ++ fnl () ++ prlist_with_sep pr_fnl db_pr_goal (sig_it glls))