ppsubst ~formatter ~subst ~metasenv tl
;;
-let ppsubst ~formatter ~metasenv subst =
- ppsubst ~formatter ~metasenv ~subst subst
+let ppsubst ~formatter ~metasenv ?(use_subst=true) subst =
+ let ssubst = if use_subst then subst else [] in
+ ppsubst ~formatter ~metasenv ~subst:ssubst subst
;;
let string_of_generated = function
let ppmetasenv ~subst metasenv = on_buffer (ppmetasenv ~subst) metasenv;;
-let ppsubst ~metasenv subst = on_buffer (ppsubst ~metasenv) subst;;
+let ppsubst ~metasenv ?use_subst subst =
+ on_buffer (ppsubst ~metasenv ?use_subst) subst
+;;
let ppobj obj = on_buffer ppobj obj;;
val ppmetasenv:
subst:NCic.substitution -> NCic.metasenv -> string
-val ppsubst: metasenv:NCic.metasenv -> NCic.substitution -> string
+val ppsubst:
+ metasenv:NCic.metasenv -> ?use_subst:bool -> NCic.substitution -> string
val ppobj: NCic.obj -> string