-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use #check_failure
command to erase errors
#131
use #check_failure
command to erase errors
#131
Conversation
As I mentioned in Zulip I'm not 100% comfortable here given I actually have not read the book yet :D -- if no one else chimes in I'm comfortable enough though that you know the right thing :) given your contributions -- but I do think if we use these that the text of the book should at least mention what |
Thanks for your comment.
|
6e910e8
to
fe6e068
Compare
fe6e068
to
8e7052d
Compare
* to use `#guard_msgs` * mdgen has to be updated
ada3bc9
to
bc380f5
Compare
@Julian Review please. |
Looks good I think. Thanks again! |
see: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/the.20metaprogramming.20book/near/386542851
There seems to be an intentional error in the code, which will be an obstacle when you try to update Lean version later.
As a way to indicate errors while avoiding them, I suggest the following.
#guard_msgs
. Use--#
to ensure that they don't remain in markdown.#check_failure
.This PR pointed out where errors can be avoided simply by using
#check_failure
.I would like to hear your views on wherecheck_failure
cannot be used.Thank you.