Skip to content

Commit

Permalink
Remove singleton product from type view
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3kk1d committed Oct 14, 2024
1 parent 1fa320c commit c87048d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/haz3lweb/view/Type.re
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ let rec view_ty = (~strip_outer_parens=false, ty: Haz3lcore.Typ.t): Node.t =>
paren_view(t1) @ [text(" -> "), view_ty(t2)],
)
| Prod([]) => div(~attrs=[clss(["typ-view", "Prod"])], [text("()")])
| Prod([_]) =>
div(~attrs=[clss(["typ-view", "Prod"])], [text("Singleton Product")])
| Prod([t0, ...ts]) =>
div(
~attrs=[clss(["typ-view", "atom", "Prod"])],
Expand Down

0 comments on commit c87048d

Please sign in to comment.