| 1 |
Module NamedContext. |
| 2 |
|
| 3 |
Definition foo := true. |
| 4 |
|
| 5 |
Section Foo. |
| 6 |
|
| 7 |
Let bar := foo. |
| 8 |
|
| 9 |
Eval native_compute in bar. |
| 10 |
Eval vm_compute in bar. |
| 11 |
|
| 12 |
End Foo. |
| 13 |
|
| 14 |
End NamedContext. |
| 15 |
|
| 16 |
Module RelContext. |
| 17 |
|
| 18 |
Definition foo := true. |
| 19 |
|
| 20 |
Definition bar (x := foo) := Eval native_compute in x. |
| 21 |
Definition barvm (x := foo) := Eval vm_compute in x. |
| 22 |
|
| 23 |
End RelContext. |
| 24 |
|
| 25 |
Definition bar (t:=_) (x := true : t) := Eval native_compute in x. |
| 26 |
Definition barvm (t:=_) (x := true : t) := Eval vm_compute in x. |
| 27 |
|
| 28 |
Definition baz (z:nat) (t:=_ z) (x := true : t) := Eval native_compute in x. |
| 29 |
Definition bazvm (z:nat) (t:=_ z) (x := true : t) := Eval vm_compute in x. |