| 1 |
Require Import Ltac2.Constr Ltac2.Init Ltac2.Control. |
| 2 |
Import Unsafe. |
| 3 |
|
| 4 |
Ltac2 Eval match (kind '(nat -> bool)) with |
| 5 |
| Prod a c => a |
| 6 |
| _ => throw Match_failure end. |
| 7 |
|
| 8 |
Set Allow StrictProp. |
| 9 |
Axiom something : SProp. |
| 10 |
Ltac2 Eval match (kind '(forall x : something, bool)) with |
| 11 |
| Prod a c => a |
| 12 |
| _ => throw Match_failure end. |
| 13 |
|
| 14 |
From Corelib Require Import PrimInt63 PrimArray. |
| 15 |
Open Scope array_scope. |
| 16 |
Ltac2 Eval match (kind '([|true|true|])) with |
| 17 |
| Array _ _ _ ty => ty |
| 18 |
| _ => throw Match_failure end. |