Skip to content

Commit

Permalink
Removed open/closed text from parameter types
Browse files Browse the repository at this point in the history
Closes #1955
  • Loading branch information
PaulKlint committed Jun 9, 2024
1 parent 659624f commit 52cf701
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ str prettyAType(t: acons(AType adt, /*str consName,*/

str prettyAType(amodule(str mname)) = "module <mname>";
str prettyAType(aparameter(str pn, AType t, closed=c)) =
((avalue() := t) ? "&<pn>" : "&<pn> \<: <prettyAType(t)>")
+ (c ? "[closed]" : "[open]");
((avalue() := t) ? "&<pn>" : "&<pn> \<: <prettyAType(t)>");
str prettyAType(areified(AType t)) = "type[<prettyAType(t)>]";

// utilities
Expand Down

0 comments on commit 52cf701

Please sign in to comment.