Skip to content

Commit

Permalink
Small fixes from AEC reviewer feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpombrio committed Apr 11, 2018
1 parent 07c382a commit 6caf729
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions examples/arith.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
(⊢ Γ false Bool)]

; nats
[------ t-zero
(⊢ Γ zero Nat)]

[(⊢ Γ e t)
(con (t = Nat))
------ t-succ
Expand Down
2 changes: 1 addition & 1 deletion examples/data.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
(con (t_1 = Num))
(con (t_2 = Num))
------ t-plus
(⊢ Γ (+ e_1 e_2) Nat)]
(⊢ Γ (+ e_1 e_2) Num)]

; string
[------ t-str
Expand Down
3 changes: 3 additions & 0 deletions examples/lambda.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
(⊢ Γ false Bool)]

; nats
[------ t-zero
(⊢ Γ zero Nat)]

[(⊢ Γ e t)
(con (t = Nat))
------ t-succ
Expand Down
3 changes: 3 additions & 0 deletions examples/subtype.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
(⊢ Γ false Bool)]

; nats
[------ t-zero
(⊢ Γ zero Nat)]

[(⊢ Γ e t)
(con (t = Nat))
------ t-succ
Expand Down

0 comments on commit 6caf729

Please sign in to comment.