aboutsummaryrefslogtreecommitdiff
path: root/engine/logic_monad.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-01-30 23:00:40 +0100
committerEmilio Jesus Gallego Arias2020-02-24 12:41:28 -0500
commit5f5b8a1fdfc71ae93f75d5bfa2d6bb2920a2f4d1 (patch)
treec2236854ca6d3de29cbe5e6d42e11766c4115ddb /engine/logic_monad.mli
parent46fe9b26ad55a266b71bbd428ee406b03a9db030 (diff)
[exn] remove `raise` taking optional exception information argument
This was redundant with `iraise`; exceptions in the logic monad now are forced to attach `info` to `Proofview.NonLogical.raise`
Diffstat (limited to 'engine/logic_monad.mli')
-rw-r--r--engine/logic_monad.mli2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/logic_monad.mli b/engine/logic_monad.mli
index 75920455ce..5002d24af0 100644
--- a/engine/logic_monad.mli
+++ b/engine/logic_monad.mli
@@ -70,7 +70,7 @@ module NonLogical : sig
(** [Pervasives.raise]. Except that exceptions are wrapped with
{!Exception}. *)
- val raise : ?info:Exninfo.info -> exn -> 'a t
+ val raise : Exninfo.iexn -> 'a t
(** [try ... with ...] but restricted to {!Exception}. *)
val catch : 'a t -> (Exninfo.iexn -> 'a t) -> 'a t