Rule 105d-atpat-paren
Atomic Patterns
(105)
TeX source
\defnrule[r:d-atpat-paren]
{\jdgv{E}{v}{\pat}{\VE/\FAIL}}
{\jdgv{E}{v}{\kw{(}\pat\kw{)}}{\VE/\FAIL}}Tests (2)
- elm / MinimalParenthesisedPatternTestA parenthesised pattern matches as the pattern it encloses.
- elm / ParenthesesTestParentheses around an expression, a pattern or a type change nothing but the grouping.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:d-atpat-paren] in its title.
A Standard Definition of Elm? (Draft version 0.4) © Rupert Smith. The text is licensed under CC BY 4.0: share and adapt it freely, with credit and a link to the licence.