| 1 |
Reserved Notation "~~ b" (at level 35, right associativity). |
| 2 |
|
| 3 |
Notation "~~ b" := (negb b) : bool_scope. |
| 4 |
|
| 5 |
Check negb false. |
| 6 |
|
| 7 |
Delimit Scope bool_scope with B. |
| 8 |
|
| 9 |
Check negb false. |
| 10 |
|
| 11 |
(* %bool still works even if not used by printing *) |
| 12 |
Check (~~ false)%bool. |
| 13 |
Check (~~ false)%B. |