diff options
| author | Pierre-Marie Pédrot | 2016-10-12 17:43:51 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-10-12 17:44:34 +0200 |
| commit | 112e974ec90b2afc51a7cffeba49e5777f3ea80f (patch) | |
| tree | 1bf579fca94adea5ee4a423c0a96c8832e68861e /engine/proofview.ml | |
| parent | 8b2a08ecd123515778584596918666e5f49076f7 (diff) | |
| parent | 6d55121c90ec50319a3de6a6907726fbcdc2f835 (diff) | |
Merge branch 'v8.5' into v8.6
Diffstat (limited to 'engine/proofview.ml')
| -rw-r--r-- | engine/proofview.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engine/proofview.ml b/engine/proofview.ml index a2838a2de1..f2f4005151 100644 --- a/engine/proofview.ml +++ b/engine/proofview.ml @@ -929,6 +929,8 @@ module Unsafe = struct { step with comb = step.comb @ gls } end + let tclSETENV = Env.set + let tclGETGOALS = Comb.get let tclSETGOALS = Comb.set @@ -1129,6 +1131,10 @@ module Goal = struct in tclUNIT (CList.map_filter map step.comb) + let unsolved { self=self } = + tclEVARMAP >>= fun sigma -> + tclUNIT (not (Option.is_empty (advance sigma self))) + (* compatibility *) let goal { self=self } = self |
