package coq-waterproof
Install
Dune Dependency
Authors
Maintainers
Sources
md5=cd4867e94e20eba727bd6deea06130cd
sha512=1205227101bb30f3e8c4ec05217920dcda1e3631ecd0428f2ac820c9a2811f91526d68623aaf01dd9aa1e81e8adfc083af01152d7f7a6e48894caa829bc3f440
doc/coq-waterproof.plugin/Waterproof/Exceptions/index.html
Module Waterproof.Exceptions
Source
The id that we obtained when registering wp_feedback_logger as a feeder in Feedback.mli
Our own logger that we add as a feeder to Coq's feedback mechanism in Feedback.mli
Adds the wp_feedback_logger to Coq's feeedback mechanism
Should hypothesis hints be printed (For instance on how you can use a forall statement)?
Redirect warnings: this is useful when testing the plugin: meant to redirect Waterproof errors directly to the log
Redirect errors: this is useful when testing the plugin: meant to redirect errors to Control.zero rather than CErrors.user_err
type wexn =
| CastError of string
(*Indicates that a cast made by the FFI has failed
*)| FailedAutomation of string
(*Indicates that the automatic solver called has failed
*)| FailedTest of string
(*Indicates that the running test has failed
*)| NonExistingDataset of Hints.hint_db_name
(*Indicates that the user tried to import a non-existing hint dataset
*)| UnusedLemmas
(*Indicates that no proof using all the given lemmas has been found
*)| ToUserError of Pp.t
(*An error that should go directly to the user
*)
Type of exceptions used in Wateproof
Sends a warning
Sends a notice
Send an info message
Throws an error
A general function for sending feedback
Check the last warning against a string