mirror of
https://github.com/achlipala/frap.git
synced 2024-11-27 23:06:20 +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. *)
|
||||
Coercion Const : nat >-> arith.
|
||||
Coercion Var : var >-> arith.
|
||||
Declare Scope arith_scope.
|
||||
Infix "+" := Plus : arith_scope.
|
||||
Infix "-" := Minus : arith_scope.
|
||||
Infix "*" := Times : arith_scope.
|
||||
|
|
Loading…
Reference in a new issue