Skip to content

Commit

Permalink
version select
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhiyaoZhong committed Oct 25, 2024
1 parent 8e741b1 commit a3931ec
Show file tree
Hide file tree
Showing 26 changed files with 1,042 additions and 596 deletions.
4 changes: 4 additions & 0 deletions src/haz3lcore/assistant/AssistantForms.re
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ module Typ = {
("of_prop" ++ leading_expander, unk),
("of_alfa_exp" ++ leading_expander, unk),
("of_alfa_typ" ++ leading_expander, unk),
("consistent" ++ leading_expander, unk),
("matched_arrow" ++ leading_expander, unk),
("matched_prod" ++ leading_expander, unk),
("matched_sum" ++ leading_expander, unk),
("eval" ++ leading_expander, unk),
];

Expand Down
6 changes: 3 additions & 3 deletions src/haz3lcore/derivation/DrvSyntax.re
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,9 @@ let repr = (~sp: string=" ", p: int, syntax: t): Aba.t(string, t) => {
? "·" |> op_sg : List.init(List.length(ctx) - 1, _ => ",") |> bin
| Entail(_) => "⊢" |> bin_sg
| Consistent(_) => "~" |> bin_sg
| MatchedArrow(_) => "→" |> bin_sg
| MatchedProd(_) => "×" |> bin_sg
| MatchedSum(_) => "+" |> bin_sg
| MatchedArrow(_) => "→" |> bin_sg
| MatchedProd(_) => "×" |> bin_sg
| MatchedSum(_) => "+" |> bin_sg
| NumLit(i) => string_of_int(i) |> op_sg
| Val(_) => "val" |> post_sg
| Neg(_) => "-" |> pre_sg
Expand Down
Loading

0 comments on commit a3931ec

Please sign in to comment.