test-suite/output/Projections.v
raw| 1 | |
| 2 | Set Printing Projections. |
| 3 | Set Primitive Projections. |
| 4 | |
| 5 | Class HostFunction := host_func : Type. |
| 6 | |
| 7 | Section store. |
| 8 | Context `{HostFunction}. |
| 9 | Record store := { store_funcs : host_func }. |
| 10 | End store. |
| 11 | |
| 12 | Check (fun (S:@store nat) => S.(store_funcs)). |
| 13 | |
| 14 | Module LocalDefUnfolding. |
| 15 | |
| 16 | Unset Printing Projections. |
| 17 | Record U A (B:=A) C := {c:B*A*C;a:=(A,B,C,c);b:a=a}. |
| 18 | Print a. |
| 19 | Print b. |
| 20 | |
| 21 | End LocalDefUnfolding. |