test-suite/success/letproj.v
raw| 1 | Set Primitive Projections. |
| 2 | Set Nonrecursive Elimination Schemes. |
| 3 | Record Foo (A : Type) := { bar : A -> A; baz : A }. |
| 4 | |
| 5 | Definition test (A : Type) (f : Foo A) := |
| 6 | let (x, y) := f in x. |
| 7 | |
| 8 | Scheme foo_case := Case for Foo Sort Type. |
| 9 | |
| 10 | Definition test' (A : Type) (f : Foo A) := |
| 11 | let 'Build_Foo _ x y := f in x. |