aboutsummaryrefslogtreecommitdiff
path: root/engine/proofview_monad.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-09-01 20:51:08 +0200
committerPierre-Marie Pédrot2020-09-01 20:51:08 +0200
commit8666b46353c1f2c751bb5b6d4e1012783d107ae4 (patch)
treebe0d256f863dc7ecf1cd2dbbb510c7622282ad24 /engine/proofview_monad.ml
parent0d30f79268fea18ef99c040a859956f61c3d978a (diff)
parent636fe1deaf220f1c30821846343b3a70ef7a078c (diff)
Merge PR #12872: Unify the shelves
Reviewed-by: SkySkimmer Reviewed-by: gares Ack-by: mattam82 Reviewed-by: ppedrot
Diffstat (limited to 'engine/proofview_monad.ml')
-rw-r--r--engine/proofview_monad.ml9
1 files changed, 0 insertions, 9 deletions
diff --git a/engine/proofview_monad.ml b/engine/proofview_monad.ml
index 4b3dd8f633..df9fc5dab3 100644
--- a/engine/proofview_monad.ml
+++ b/engine/proofview_monad.ml
@@ -166,7 +166,6 @@ let map_goal_with_state f (g, s) = (f g, s)
type proofview = {
solution : Evd.evar_map;
comb : goal_with_state list;
- shelf : goal list;
}
(** {6 Instantiation of the logic monad} *)
@@ -238,14 +237,6 @@ module Status : Writer with type t := bool = struct
let put s = Logical.put s
end
-module Shelf : State with type t = goal list = struct
- (* spiwack: I don't know why I cannot substitute ([:=]) [t] with a type expression. *)
- type t = goal list
- let get = Logical.map (fun {shelf} -> shelf) Pv.get
- let set c = Pv.modify (fun pv -> { pv with shelf = c })
- let modify f = Pv.modify (fun pv -> { pv with shelf = f pv.shelf })
-end
-
(** Lens and utilities pertaining to the info trace *)
module InfoL = struct
let recording = Logical.(map (fun {P.trace} -> trace) current)