Debian Codegraph @

test-suite/output/ltac2_typed_notations.v

raw
1 Require Import Ltac2.Ltac2.
2
3 Fail Ltac2 foo(b: bool): bool :=
4 let c := b in
5 match! c with
6 | true => true
7 | false => false
8 end.
9 (* error used to be on the whole command *)
10
11 Ltac2 Globalize fun (b: bool) =>
12 (let c := b in
13 match! c with
14 | true => true
15 | false => false
16 end : bool).