]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_tactics/nTacStatus.ml
Implementation of ndestruct tactic (including destruction of constructor forms
[helm.git] / helm / software / components / ng_tactics / nTacStatus.ml
index b6013c272f5d91d2372476b37448d3d77ad19343..b58eb5558a8d95a2f6ce5564a0ea7ab228f19f2f 100644 (file)
@@ -229,6 +229,10 @@ let get_goalty status g =
  with NCicUtils.Meta_not_found _ as exn -> fail ~exn (lazy "get_goalty")
 ;;
 
+let get_subst status =
+  let _,_,_,subst,_ = status#obj in subst
+;;
+
 let to_subst status i entry =
  let name,height,metasenv,subst,obj = status#obj in
  let metasenv = List.filter (fun j,_ -> j <> i) metasenv in