Skip to content

Commit

Permalink
Renamed Pat tuple() type to p_tuple().
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanatt committed Oct 7, 2024
1 parent 24ce97f commit ae85652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pat/pat_syntax.erl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
-type tuple_pat_type() :: {pat, anno(), tuple, [expr()], t_product()}.

%%% Value types.
-type val() :: var() | lit() | tuple() | unit().
-type val() :: var() | lit() | p_tuple() | unit().

-type var() :: {var, anno(), atom()}.

Expand All @@ -92,7 +92,7 @@
| {string, anno(), string()}
| {atom, anno(), atom()}.

-type tuple() :: {tuple, anno(), [expr()]}.
-type p_tuple() :: {tuple, anno(), [expr()]}.

-type unit() :: {unit, anno()}.

Expand Down

0 comments on commit ae85652

Please sign in to comment.