mirror of
https://github.com/achlipala/frap.git
synced 2025-02-26 03:22:13 +00:00
Revising Interpreters before class
This commit is contained in:
parent
c050ec21ae
commit
56af55f38a
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ Example factorial_ugly :=
|
||||||
* them from our examples. *)
|
* them from our examples. *)
|
||||||
Coercion Const : nat >-> arith.
|
Coercion Const : nat >-> arith.
|
||||||
Coercion Var : var >-> arith.
|
Coercion Var : var >-> arith.
|
||||||
|
Declare Scope arith_scope.
|
||||||
Infix "+" := Plus : arith_scope.
|
Infix "+" := Plus : arith_scope.
|
||||||
Infix "-" := Minus : arith_scope.
|
Infix "-" := Minus : arith_scope.
|
||||||
Infix "*" := Times : arith_scope.
|
Infix "*" := Times : arith_scope.
|
||||||
|
|
Loading…
Add table
Reference in a new issue