Skip to content

Commit

Permalink
Include ∀ (forall) symbol help
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Aug 19, 2024
1 parent 6eb3626 commit c9202c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Code/Syntax/SyntaxSegment.elm
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,9 @@ helpForSegment (SyntaxSegment syntaxType segmentText) =
"forall" ->
Just SyntaxSegmentHelp.typeForall

"" ->
Just SyntaxSegmentHelp.typeForall

_ ->
Nothing

Expand Down
2 changes: 1 addition & 1 deletion src/Code/Syntax/SyntaxSegmentHelp.elm
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ typeParams =

typeForall : Html msg
typeForall =
help [ inlineCode "forall", text " describes a type that is universally quantified." ]
help [ inlineCode "", text " or ", inlineCode "forall", text " describes a type that is universally quantified." ]


typeAscriptionColon : Html msg
Expand Down

0 comments on commit c9202c9

Please sign in to comment.