Rule 51sm-explist-items
Exposing Lists
(51)
TeX source
\defnrule[r:sm-explist-items]
{\jdg{\modid, I}{\expitem_i}{(N_i, N'_i)} \quad (1 \le i \le n)}
{\jdg{\modid, I}{\kw{(}\expitem_1\kw{,}\ \cdots\kw{,}\ \expitem_n\kw{)}}{(N_1 \cup \cdots \cup N_n,\ N'_1 \cup \cdots \cup N'_n)}}Tests (2)
- elm / ImportExposingItemsTestAn import's exposing list brings exactly its items into scope, with what the imported module's header exposes.
- elm / MinimalImportValueTestA value exposed by one module and used in another.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:sm-explist-items] 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.