| 1 |
#[projections(primitive)] |
| 2 |
Record test : Type := { f : nat }. |
| 3 |
Section coercion. |
| 4 |
Coercion f : test >-> nat. |
| 5 |
End coercion. |
| 6 |
Section reduction. |
| 7 |
#[global] Opaque f. |
| 8 |
End reduction. |
| 9 |
Section hintopacity. |
| 10 |
#[global] Hint Opaque f : typeclass_instances. |
| 11 |
End hintopacity. |