Rule 52sm-item-var
Exposing Items
(52)
Comments
A value is joined with what earlier imports provide, so a value exposed by name by two modules is ambiguous.
TeX source
\defnrule[r:sm-item-var]
{\var \in \Dom(\VE \of I)}
{\jdg{\modid, I}{\var}{(\emptyset, \{\var\})}}Tests (1)
- elm / CompilerIssue2207MutualRecursionSecondFunctionTestThe second of two exposed, unannotated, mutually recursive functions can be used from another module.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:sm-item-var] 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.