diff options
| author | Arnaud Spiwack | 2014-08-04 15:44:19 +0200 |
|---|---|---|
| committer | Arnaud Spiwack | 2014-08-04 15:56:38 +0200 |
| commit | 94a759be56074ac66c5c96b0cc7722b395c4cf40 (patch) | |
| tree | f1863f86a463872e5af38482c50066885e5b1142 /proofs/proof_errors.ml | |
| parent | 39285cc9cc8887380349bb1e75aa4e006a8ceffa (diff) | |
Cleaning of the new implementation of the tactic monad.
* Add comments in the code (mostly imported from Monad.v)
* Inline duplicated module
* Clean up some artifacts due to the extracted code.
* [NonLogical.new_ref] -> [NonLogical.ref] (I don't even remember why I chose this name originally)
* Remove the now superfluous [Proof_errors] module (which was used to define exceptions to be used in the extracted code).
* Remove Monad.v
Diffstat (limited to 'proofs/proof_errors.ml')
| -rw-r--r-- | proofs/proof_errors.ml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/proofs/proof_errors.ml b/proofs/proof_errors.ml deleted file mode 100644 index e543b0c8fd..0000000000 --- a/proofs/proof_errors.ml +++ /dev/null @@ -1,12 +0,0 @@ -exception Exception of exn -exception Timeout -exception TacticFailure of exn - -let _ = Errors.register_handler begin function - | Timeout -> Errors.errorlabstrm "Some timeout function" (Pp.str"Timeout!") - | Exception e -> Errors.print e - | TacticFailure e -> Errors.print e - | _ -> Pervasives.raise Errors.Unhandled -end - - |
