aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorArnaud Spiwack2014-07-30 14:40:46 +0200
committerArnaud Spiwack2014-08-01 19:18:58 +0200
commit96d1dc433019b0f962b823c8d83fb82cdad18c88 (patch)
treead277a5269d8890ab878de0745ec4cbb26512a0e /kernel
parent78692ad28ded4f94d5cf7e54240fe0b71d1be282 (diff)
Add [guard] tactic.
The [guard] tactic accepts simple tests (on integers) as argument, succeeds if the test passes and fails if the test fails. Together with [numgoal] can be used to fork on the number of goals of a tactic. The syntax is not very robust (in particular [guard n<=1] is correct but not [guard (n<=1)]). Maybe tests should be moved to the general parser to allow for more flexibility.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions