☰
Debian Codegraph
@
0.1.6-3
0.1.6-2
/
/
src
/
Util
/
Tactics
/
WarnIfGoalsRemain.v
☽
☼
src/Util/Tactics/WarnIfGoalsRemain.v
code
plain
raw
Expat
or
BSD-1-Clause
or
Apache-2.0
2015 Programming Languages and Verification Group at MIT CSAIL; 2015-2020 the fiat-crypto authors (see the AUTHORS file).
debian/copyright
1
Require Import Crypto.Util.Tactics.PrintGoal.
2
3
Ltac warn_if_goals_remain _ :=
4
[ > idtac "WARNING: Remaining goal:"; print_context_and_goal () .. ].
5
6
Ltac fail_if_goals_remain _ :=
7
warn_if_goals_remain (); fail 0 "A goal remains".