package coq-waterproof
Install
Dune Dependency
Authors
Maintainers
Sources
md5=18c6dafc6fb018f167f89fb236ff494b
sha512=096ebe52912ebe3fb063a5ce88bee1dfc8f63226f7f1284a4304a079751b98c617a4fcafa9781c3e54e024e631c87248885b56efc20086c98ae0e525cfe08efb
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