Rule 121dm-expitem-alias
Exposing Items
(121)
Comments
Referred to from
TeX source
\defnrule[r:dm-expitem-alias]
{\tycon\in\dmRA\of I\premsep\con=\tycon\premsep(\VE\of I)(\con)=v}
{\jdg{I}{\tycon}{(\{\tycon\},\emptymap,\{\con\mapsto v\})}}Tests (2)
- elm / ImportExposingItemsTestAn import's exposing list brings exactly its items into scope, with what the imported module's header exposes.
- elm / MinimalExposingAliasTestA module that exposes a record type alias.
Discussions
Discuss this rule·Search the discussions on GitHub
Discussions are on GitHub; one about this rule has [r:dm-expitem-alias] 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.